From: Bruce Momjian Date: Thu, 16 Aug 2012 02:59:37 +0000 (-0400) Subject: Document that PGDATA has to point to the configuration files, rather X-Git-Tag: REL9_3_BETA1~1080 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=077908aed726b0e1605ed27156d7ebcf93a64d5d;p=postgresql Document that PGDATA has to point to the configuration files, rather than the actual data storage directory. Per suggestion from Thom Brown --- diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 90725d9326..7a4c2bec3b 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -261,7 +261,7 @@ PostgreSQL documentation - Specifies the file system location of the database files. If + Specifies the file system location of the database configuration files. If this is omitted, the environment variable PGDATA is used. diff --git a/doc/src/sgml/ref/postgres-ref.sgml b/doc/src/sgml/ref/postgres-ref.sgml index a1f36e1836..41745fb34d 100644 --- a/doc/src/sgml/ref/postgres-ref.sgml +++ b/doc/src/sgml/ref/postgres-ref.sgml @@ -179,8 +179,8 @@ PostgreSQL documentation - Specifies the file system location of the data directory or - configuration file(s). See + Specifies the file system location of the database + configuration files. See for details. diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index bd2dca39fc..e0a93c1b5e 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -19,7 +19,8 @@ directories. -All the data needed for a database cluster is stored within the cluster's data +Traditionally, the configuration and data files used by a database +cluster are stored together within the cluster's data directory, commonly referred to as PGDATA (after the name of the environment variable that can be used to define it). A common location for PGDATA is /var/lib/pgsql/data. Multiple clusters, @@ -33,7 +34,7 @@ these required items, the cluster configuration files postgresql.conf, pg_hba.conf, and pg_ident.conf are traditionally stored in PGDATA (although in PostgreSQL 8.0 and -later, it is possible to keep them elsewhere). +later, it is possible to place them elsewhere).