mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Update initdb instructions for a 1.* database.
This commit is contained in:
parent
388c0d81da
commit
8de4434eb7
6
INSTALL
6
INSTALL
@ -163,9 +163,11 @@ function. There are plans to remedy this in future developent.
|
||||
The program initdb (part of Postgres) is what initializes (creates) a
|
||||
database system. See the man page for initdb.
|
||||
|
||||
Example:
|
||||
Example for postgres version 1.*:
|
||||
% initdb
|
||||
|
||||
% initdb --pgdata=/usr/lib/postgres_data --username=postgres
|
||||
Example for postgres version 2.0:(to be released in several months)
|
||||
% initdb -d /usr/lib/postgres_data -u postgres
|
||||
|
||||
This example creates the files for the database system in the directory
|
||||
/usr/lib/postgres_data and makes user "postgres" the Postgres superuser
|
||||
|
Loading…
Reference in New Issue
Block a user