File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -163,13 +163,15 @@ function. There are plans to remedy this in future developent.
163
163
The program initdb (part of Postgres) is what initializes (creates) a
164
164
database system. See the man page for initdb.
165
165
166
- Example:
166
+ Example for postgres version 1.*:
167
+ % initdb
167
168
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
169
171
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.
173
175
174
176
By default, the user issuing the initdb command becomes the Postgres
175
177
superuser, and only the unix superuser can specify any other user as the
You can’t perform that action at this time.
0 commit comments