Skip to content
Snippets Groups Projects
Commit ebb88e3b authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Fix initlocation syntax example for createdb

parent d4e27596
No related branches found
No related tags found
No related merge requests found
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -96,7 +96,7 @@ initlocation <replaceable class="parameter">directory</replaceable> ...@@ -96,7 +96,7 @@ initlocation <replaceable class="parameter">directory</replaceable>
<programlisting> <programlisting>
$ export PGDATA2=/opt/postgres/data $ export PGDATA2=/opt/postgres/data
$ initlocation PGDATA2 $ initlocation PGDATA2
$ createdb 'testdb' -D 'PGDATA2' $ createdb -D 'PGDATA2' 'testdb'
</programlisting> </programlisting>
</para> </para>
...@@ -104,7 +104,7 @@ $ createdb 'testdb' -D 'PGDATA2' ...@@ -104,7 +104,7 @@ $ createdb 'testdb' -D 'PGDATA2'
Alternatively, if you allow absolute paths you could write: Alternatively, if you allow absolute paths you could write:
<programlisting> <programlisting>
$ initlocation /opt/postgres/data $ initlocation /opt/postgres/data
$ createdb testdb -D '/opt/postgres/data/testdb' $ createdb -D '/opt/postgres/data/testdb' testdb
</programlisting> </programlisting>
</para> </para>
</refsect1> </refsect1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment