Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 16a7ec3

Browse files
committed
Fix initlocation messages
1 parent da1696b commit 16a7ec3

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

doc/src/sgml/manage.sgml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/manage.sgml,v 1.14 2001/09/09 17:21:59 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/manage.sgml,v 1.15 2001/09/10 05:20:23 ishii Exp $
33
-->
44

55
<Chapter Id="manage">
@@ -125,8 +125,18 @@ ERROR: CREATE DATABASE: Permission denied.
125125
Then, from the command line, type
126126
<ProgramListing>
127127
% initlocation PGDATA2
128-
Creating Postgres database system directory /alt/postgres/data
129-
Creating Postgres database system directory /alt/postgres/data/base
128+
The location will be initialized with username "postgres".
129+
This user will own all the files and must also own the server process.
130+
131+
Creating directory /alt/postgres/data
132+
Creating directory /alt/postgres/data/base
133+
134+
initlocation is complete.
135+
You can now create a database using
136+
CREATE DATABASE &lt;name&gt; WITH LOCATION = 'PGDATA2'
137+
in SQL, or
138+
createdb &lt;name&gt; -D 'PGDATA2'
139+
from the shell.
130140
</ProgramListing>
131141
</Para>
132142

0 commit comments

Comments
 (0)