|
1 | 1 | <!--
|
2 |
| -$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/initlocation.sgml,v 1.7 2000/03/27 17:14:43 thomas Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/initlocation.sgml,v 1.8 2000/05/26 02:07:15 momjian Exp $ |
3 | 3 | Postgres documentation
|
4 | 4 | -->
|
5 | 5 |
|
@@ -96,15 +96,15 @@ initlocation <replaceable class="parameter">directory</replaceable>
|
96 | 96 | <programlisting>
|
97 | 97 | $ export PGDATA2=/opt/postgres/data
|
98 | 98 | $ initlocation PGDATA2
|
99 |
| -$ createdb'testdb'-D 'PGDATA2' |
| 99 | +$ createdb -D 'PGDATA2' 'testdb' |
100 | 100 | </programlisting>
|
101 | 101 | </para>
|
102 | 102 |
|
103 | 103 | <para>
|
104 | 104 | Alternatively, if you allow absolute paths you could write:
|
105 | 105 | <programlisting>
|
106 | 106 | $ initlocation /opt/postgres/data
|
107 |
| -$ createdbtestdb-D '/opt/postgres/data/testdb' |
| 107 | +$ createdb -D '/opt/postgres/data/testdb' testdb |
108 | 108 | </programlisting>
|
109 | 109 | </para>
|
110 | 110 | </refsect1>
|
|