diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-05-26 02:07:15 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-05-26 02:07:15 +0000 |
commit | ebb88e3ba5f711ed3367d0638b0b0bf30e6d8001 (patch) | |
tree | fba83855ea165932f9ecaf3099594db1a5a78a5e | |
parent | d4e27596cfb220cc548cc072f7f287bb6346304c (diff) | |
download | postgresql-ebb88e3ba5f711ed3367d0638b0b0bf30e6d8001.tar.gz postgresql-ebb88e3ba5f711ed3367d0638b0b0bf30e6d8001.zip |
Fix initlocation syntax example for createdb
-rw-r--r-- | doc/src/sgml/ref/initlocation.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/initlocation.sgml b/doc/src/sgml/ref/initlocation.sgml index fa86a4041e6..92b57502ef6 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.7 2000/03/27 17:14:43 thomas Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/initlocation.sgml,v 1.8 2000/05/26 02:07:15 momjian Exp $ Postgres documentation --> @@ -96,7 +96,7 @@ initlocation <replaceable class="parameter">directory</replaceable> <programlisting> $ export PGDATA2=/opt/postgres/data $ initlocation PGDATA2 -$ createdb 'testdb' -D 'PGDATA2' +$ createdb -D 'PGDATA2' 'testdb' </programlisting> </para> @@ -104,7 +104,7 @@ $ createdb 'testdb' -D 'PGDATA2' Alternatively, if you allow absolute paths you could write: <programlisting> $ initlocation /opt/postgres/data -$ createdb testdb -D '/opt/postgres/data/testdb' +$ createdb -D '/opt/postgres/data/testdb' testdb </programlisting> </para> </refsect1> |