Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 830d95c

Browse files
author
Liudmila Mantrova
committed
DOC: documented pg-setup limitations
1 parent c8967be commit 830d95c

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

doc/src/sgml/ref/pg-setup.sgml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,24 +104,28 @@
104104
<varlistentry>
105105
<term><option>initdb [<replaceable>initdb_options</replaceable>]</option></term>
106106
<listitem><para>Initialize the database cluster on behalf of the
107-
<literal>postgres</literal> user. Optionally, you can provide
108-
any <xref linkend="app-initdb"> options to customize the installation.
107+
<literal>postgres</literal> user.
109108
</para>
110-
<para>If no <application>initdb</application>
111-
options are provided, the database cluster is initialized in the
109+
<para>By default, the database cluster is initialized in the
112110
<filename>/var/lib/pgpro/&edition;-&majorversion;/data</filename> directory,
113-
using localization settings specified in the <envar>LANG</envar>
111+
with checksums enabled, <literal>auth-local</literal> parameter
112+
set to <literal>peer</literal>, and <literal>auth-host</literal>
113+
parameter set to <literal>md5</literal>.
114+
Localization settings are inherited from the <envar>LANG</envar>
114115
environment variable for the current session.
115116
All the <literal>LC_*</literal> environment variables are ignored.
117+
Optionally, you can provide <xref linkend="app-initdb"> options
118+
to customize the installation.
116119
</para>
117-
<note>
120+
<important>
118121
<para>
119-
<application>pg-setup</application> initializes the database cluster
120-
with checksums enabled. If this is not what you expect, do not
122+
With <application>pg-setup</application>, you cannot
123+
initialize the database cluster with checksums disabled or
124+
choose the data directory. If this is not what you expect, do not
121125
use <application>pg-setup</application> for cluster initialization
122126
and run <xref linkend="app-initdb"> directly instead.
123127
</para>
124-
</note>
128+
</important>
125129
</listitem>
126130
</varlistentry>
127131

0 commit comments

Comments
 (0)