Skip to content
Snippets Groups Projects
Commit b8003d09 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Cleanup initdb for 1.*.

parent 00b1fb07
No related branches found
No related tags found
No related merge requests found
...@@ -161,18 +161,11 @@ superuser. The simplest way is by creating and running a C language ...@@ -161,18 +161,11 @@ superuser. The simplest way is by creating and running a C language
function. There are plans to remedy this in future developent. function. There are plans to remedy this in future developent.
The program initdb (part of Postgres) is what initializes (creates) a The program initdb (part of Postgres) is what initializes (creates) a
database system. See the man page for initdb. database system. Initdb uses the defaults specified in Makefile.global.
See the man page for initdb for more information.
Example for postgres version 1.*:
% initdb % initdb
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.
By default, the user issuing the initdb command becomes the Postgres By default, the user issuing the initdb command becomes the Postgres
superuser, and only the unix superuser can specify any other user as the superuser, and only the unix superuser can specify any other user as the
Postgres superuser. Postgres superuser.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment