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

Commit 8de4434

Browse files
committed
Update initdb instructions for a 1.* database.
1 parent 388c0d8 commit 8de4434

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

INSTALL

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,15 @@ function. There are plans to remedy this in future developent.
163163
The program initdb (part of Postgres) is what initializes (creates) a
164164
database system. See the man page for initdb.
165165

166-
Example:
166+
Example for postgres version 1.*:
167+
% initdb
167168

168-
% initdb --pgdata=/usr/lib/postgres_data --username=postgres
169+
Example for postgres version 2.0:(to be released in several months)
170+
% initdb -d /usr/lib/postgres_data -u postgres
169171

170-
This example creates the files for the database system in the directory
171-
/usr/lib/postgres_data and makes user "postgres" the Postgres superuser
172-
for the new database system.
172+
This example creates the files for the database system in the directory
173+
/usr/lib/postgres_data and makes user "postgres" the Postgres superuser
174+
for the new database system.
173175

174176
By default, the user issuing the initdb command becomes the Postgres
175177
superuser, and only the unix superuser can specify any other user as the

0 commit comments

Comments
 (0)