diff options
author | Bruce Momjian <bruce@momjian.us> | 1996-11-06 22:34:18 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1996-11-06 22:34:18 +0000 |
commit | 8de4434eb7e62dc72144517421388c7d96d9d4fb (patch) | |
tree | 5ebaff862d074886f71fe4110e9d86c9ccdcfed4 | |
parent | 388c0d81dab68256bb021038a7c1ee8fcc361340 (diff) | |
download | postgresql-8de4434eb7e62dc72144517421388c7d96d9d4fb.tar.gz postgresql-8de4434eb7e62dc72144517421388c7d96d9d4fb.zip |
Update initdb instructions for a 1.* database.
-rw-r--r-- | INSTALL | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -163,13 +163,15 @@ 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 -for the new database system. + This example creates the files for the database system in the directory + /usr/lib/postgres_data and makes user "postgres" the Postgres superuser + for the new database system. By default, the user issuing the initdb command becomes the Postgres superuser, and only the unix superuser can specify any other user as the |