From b1def35feeb99542ae6ab55005f302b7314131e0 Mon Sep 17 00:00:00 2001
From: Hari Babu <kommi.haribabu@gmail.com>
Date: Fri, 18 Jan 2019 14:21:51 +1100
Subject: [PATCH] log_file_mode default value update

For group read access cluster, the default value of
log_file_mode is 0640 to allow reading of log files by the
members of the same group.
---
 doc/src/sgml/config.sgml | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index b6f5822b84..8aaf5b133e 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -5440,14 +5440,13 @@ local0.*    /var/log/postgresql
         must start with a <literal>0</literal> (zero).)
        </para>
        <para>
-        The default permissions are <literal>0600</literal>, meaning only the
-        server owner can read or write the log files.  The other commonly
-        useful setting is <literal>0640</literal>, allowing members of the owner's
-        group to read the files.  Note however that to make use of such a
-        setting, you'll need to alter <xref linkend="guc-log-directory"/> to
-        store the files somewhere outside the cluster data directory.  In
-        any case, it's unwise to make the log files world-readable, since
-        they might contain sensitive data.
+        The default permissions are either <literal>0600</literal>, meaning only the
+        server owner can read or write the log files or <literal>0640</literal>, that
+        allows any user in the same group can read the log files, based on the new
+        cluster created with <option>--allow-group-access</option> option of <command>initdb</command>
+        command. Note however that to make use of any setting other than default,
+        you'll need to alter <xref linkend="guc-log-directory"/> to store the files
+        somewhere outside the cluster data directory.
        </para>
        <para>
         This parameter can only be set in the <filename>postgresql.conf</filename>
-- 
2.18.0.windows.1

