Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit077908a

Browse files
committed
Document that PGDATA has to point to the configuration files, rather
than the actual data storage directory.Per suggestion from Thom Brown
1 parent6ff55eb commit077908a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

‎doc/src/sgml/ref/pg_ctl-ref.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ PostgreSQL documentation
261261
<term><option>--pgdata <replaceable class="parameter">datadir</replaceable></option></term>
262262
<listitem>
263263
<para>
264-
Specifies the file system location of the database files. If
264+
Specifies the file system location of the databaseconfigurationfiles. If
265265
this is omitted, the environment variable
266266
<envar>PGDATA</envar> is used.
267267
</para>

‎doc/src/sgml/ref/postgres-ref.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ PostgreSQL documentation
179179
<term><option>-D <replaceable class="parameter">datadir</replaceable></option></term>
180180
<listitem>
181181
<para>
182-
Specifies the file system location of thedata directory or
183-
configurationfile(s). See
182+
Specifies the file system location of thedatabase
183+
configurationfiles. See
184184
<xref linkend="runtime-config-file-locations"> for details.
185185
</para>
186186
</listitem>

‎doc/src/sgml/storage.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ directories.
1919
</para>
2020

2121
<para>
22-
All the data needed for a database cluster is stored within the cluster's data
22+
Traditionally, the configuration and data files used by a database
23+
cluster are stored together within the cluster's data
2324
directory, commonly referred to as <varname>PGDATA</> (after the name of the
2425
environment variable that can be used to define it). A common location for
2526
<varname>PGDATA</> is <filename>/var/lib/pgsql/data</>. Multiple clusters,
@@ -33,7 +34,7 @@ these required items, the cluster configuration files
3334
<filename>postgresql.conf</filename>, <filename>pg_hba.conf</filename>, and
3435
<filename>pg_ident.conf</filename> are traditionally stored in
3536
<varname>PGDATA</> (although in <productname>PostgreSQL</productname> 8.0 and
36-
later, it is possible tokeep them elsewhere).
37+
later, it is possible toplace them elsewhere).
3738
</para>
3839

3940
<table tocentry="1" id="pgdata-contents-table">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp