summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2000-05-26 15:47:18 +0000
committerBruce Momjian2000-05-26 15:47:18 +0000
commitbe6e7717db53812248d89c2ee798bb80e54a00ee (patch)
tree7d087d76d0da3266b75d129a2e41b5f0cd0f5f3f /doc/src
parent23b0387a94406f2d7a91da9a04f47ab0854144e5 (diff)
Fix \h SELECT to not show SELECT INTO.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/initlocation.sgml7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/initlocation.sgml b/doc/src/sgml/ref/initlocation.sgml
index 92b57502ef6..3f0bbad5793 100644
--- a/doc/src/sgml/ref/initlocation.sgml
+++ b/doc/src/sgml/ref/initlocation.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/initlocation.sgml,v 1.8 2000/05/26 02:07:15 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/initlocation.sgml,v 1.9 2000/05/26 15:47:17 momjian Exp $
Postgres documentation
-->
@@ -95,6 +95,11 @@ initlocation <replaceable class="parameter">directory</replaceable>
To create a database in an alternate location, using an environment variable:
<programlisting>
$ export PGDATA2=/opt/postgres/data
+</programlisting>
+Start and stop postmaster so it sees the $PGDATA2 environment variable.
+The system must be configured so the postmaster sees $PGDATA2 every time it
+starts.
+<programlisting>
$ initlocation PGDATA2
$ createdb -D 'PGDATA2' 'testdb'
</programlisting>