diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-16 22:25:51 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-16 22:25:51 +0000 |
commit | 3ec694e17bc01cec4ae2000847f25e3d549888c0 (patch) | |
tree | 1215875ecf4781a8c88d492d66a1ad4c4060c67f /src/backend/utils/misc/postgresql.conf.sample | |
parent | 6b0937cd58a8a777c53f7c1651e0b04cdf3f4784 (diff) | |
download | postgresql-3ec694e17bc01cec4ae2000847f25e3d549888c0.tar.gz postgresql-3ec694e17bc01cec4ae2000847f25e3d549888c0.zip |
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/backend/utils/misc/postgresql.conf.sample')
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index a3b145796d0..9d0f5825d42 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -269,6 +269,8 @@ # can be absolute or relative to PGDATA #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern, # can include strftime() escapes +#log_file_mode = 0600 # creation mode for log files, + # begin with 0 to use octal notation #log_truncate_on_rotation = off # If on, an existing log file of the # same name as the new log file will be # truncated rather than appended to. |