diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2001-09-10 05:20:23 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2001-09-10 05:20:23 +0000 |
commit | 16a7ec386e9bb57809f7597c8916836916ed5694 (patch) | |
tree | d1de40ceab4e55b1acbd50d05e563b8807ad9bad | |
parent | da1696b5c1961fc5406869bc3f9bf9009c847f8e (diff) | |
download | postgresql-16a7ec386e9bb57809f7597c8916836916ed5694.tar.gz postgresql-16a7ec386e9bb57809f7597c8916836916ed5694.zip |
Fix initlocation messages
-rw-r--r-- | doc/src/sgml/manage.sgml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/src/sgml/manage.sgml b/doc/src/sgml/manage.sgml index dfc85b0876f..b6eaa18de50 100644 --- a/doc/src/sgml/manage.sgml +++ b/doc/src/sgml/manage.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/manage.sgml,v 1.14 2001/09/09 17:21:59 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/manage.sgml,v 1.15 2001/09/10 05:20:23 ishii Exp $ --> <Chapter Id="manage"> @@ -125,8 +125,18 @@ ERROR: CREATE DATABASE: Permission denied. Then, from the command line, type <ProgramListing> % initlocation PGDATA2 -Creating Postgres database system directory /alt/postgres/data -Creating Postgres database system directory /alt/postgres/data/base +The location will be initialized with username "postgres". +This user will own all the files and must also own the server process. + +Creating directory /alt/postgres/data +Creating directory /alt/postgres/data/base + +initlocation is complete. +You can now create a database using + CREATE DATABASE <name> WITH LOCATION = 'PGDATA2' +in SQL, or + createdb <name> -D 'PGDATA2' +from the shell. </ProgramListing> </Para> |