Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebb88e3

Browse files
committed
Fix initlocation syntax example for createdb
1 parentd4e2759 commitebb88e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/ref/initlocation.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
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 $
33
Postgres documentation
44
-->
55

@@ -96,15 +96,15 @@ initlocation <replaceable class="parameter">directory</replaceable>
9696
<programlisting>
9797
$ export PGDATA2=/opt/postgres/data
9898
$ initlocation PGDATA2
99-
$ createdb'testdb'-D 'PGDATA2'
99+
$ createdb -D 'PGDATA2' 'testdb'
100100
</programlisting>
101101
</para>
102102

103103
<para>
104104
Alternatively, if you allow absolute paths you could write:
105105
<programlisting>
106106
$ initlocation /opt/postgres/data
107-
$ createdbtestdb-D '/opt/postgres/data/testdb'
107+
$ createdb -D '/opt/postgres/data/testdb' testdb
108108
</programlisting>
109109
</para>
110110
</refsect1>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp