From 16a7ec386e9bb57809f7597c8916836916ed5694 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Mon, 10 Sep 2001 05:20:23 +0000 Subject: [PATCH] Fix initlocation messages --- doc/src/sgml/manage.sgml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/manage.sgml b/doc/src/sgml/manage.sgml index dfc85b0876..b6eaa18de5 100644 --- a/doc/src/sgml/manage.sgml +++ b/doc/src/sgml/manage.sgml @@ -1,5 +1,5 @@ @@ -125,8 +125,18 @@ ERROR: CREATE DATABASE: Permission denied. Then, from the command line, type % 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.