From: Bruce Momjian Date: Fri, 26 May 2000 02:07:15 +0000 (+0000) Subject: Fix initlocation syntax example for createdb X-Git-Url: http://git.postgresql.org/gitweb/stat%3Cscript%20data-cfasync=?a=commitdiff_plain;h=f2cdd8eb9178c18511f83397cce2387b75b1906d;p=users%2Fbernd%2Fpostgres.git Fix initlocation syntax example for createdb --- diff --git a/doc/src/sgml/ref/initlocation.sgml b/doc/src/sgml/ref/initlocation.sgml index f184489272..3e3b8aaf69 100644 --- a/doc/src/sgml/ref/initlocation.sgml +++ b/doc/src/sgml/ref/initlocation.sgml @@ -96,7 +96,7 @@ initlocation directory $ export PGDATA2=/opt/postgres/data $ initlocation PGDATA2 -$ createdb 'testdb' -D 'PGDATA2' +$ createdb -D 'PGDATA2' 'testdb' @@ -104,7 +104,7 @@ $ createdb 'testdb' -D 'PGDATA2' Alternatively, if you allow absolute paths you could write: $ initlocation /opt/postgres/data -$ createdb testdb -D '/opt/postgres/data/testdb' +$ createdb -D '/opt/postgres/data/testdb' testdb