diff options
| author | Tom Lane | 2010-07-16 22:25:51 +0000 |
|---|---|---|
| committer | Tom Lane | 2010-07-16 22:25:51 +0000 |
| commit | 3ec694e17bc01cec4ae2000847f25e3d549888c0 (patch) | |
| tree | 1215875ecf4781a8c88d492d66a1ad4c4060c67f /src/include/postmaster | |
| parent | 6b0937cd58a8a777c53f7c1651e0b04cdf3f4784 (diff) | |
Add a log_file_mode GUC that allows control of the file permissions set on
log files created by the syslogger process.
In passing, make unix_file_permissions display its value in octal, same
as log_file_mode now does.
Martin Pihlak
Diffstat (limited to 'src/include/postmaster')
| -rw-r--r-- | src/include/postmaster/syslogger.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/postmaster/syslogger.h b/src/include/postmaster/syslogger.h index 5c86d943ef2..f15d88d0ca2 100644 --- a/src/include/postmaster/syslogger.h +++ b/src/include/postmaster/syslogger.h @@ -5,7 +5,7 @@ * * Copyright (c) 2004-2010, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/postmaster/syslogger.h,v 1.16 2010/01/02 16:58:08 momjian Exp $ + * $PostgreSQL: pgsql/src/include/postmaster/syslogger.h,v 1.17 2010/07/16 22:25:51 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -68,6 +68,7 @@ extern int Log_RotationSize; extern PGDLLIMPORT char *Log_directory; extern PGDLLIMPORT char *Log_filename; extern bool Log_truncate_on_rotation; +extern int Log_file_mode; extern bool am_syslogger; |
