|
1 | 1 | <!-- |
2 | | -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/manage.sgml,v 1.14 2001/09/09 17:21:59 petere Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/manage.sgml,v 1.15 2001/09/10 05:20:23 ishii Exp $ |
3 | 3 | --> |
4 | 4 |
|
5 | 5 | <Chapter Id="manage"> |
@@ -125,8 +125,18 @@ ERROR: CREATE DATABASE: Permission denied. |
125 | 125 | Then, from the command line, type |
126 | 126 | <ProgramListing> |
127 | 127 | % initlocation PGDATA2 |
128 | | -Creating Postgres database system directory /alt/postgres/data |
129 | | -Creating Postgres database system directory /alt/postgres/data/base |
| 128 | +The location will be initialized with username "postgres". |
| 129 | +This user will own all the files and must also own the server process. |
| 130 | + |
| 131 | +Creating directory /alt/postgres/data |
| 132 | +Creating directory /alt/postgres/data/base |
| 133 | + |
| 134 | +initlocation is complete. |
| 135 | +You can now create a database using |
| 136 | + CREATE DATABASE <name> WITH LOCATION = 'PGDATA2' |
| 137 | +in SQL, or |
| 138 | + createdb <name> -D 'PGDATA2' |
| 139 | +from the shell. |
130 | 140 | </ProgramListing> |
131 | 141 | </Para> |
132 | 142 |
|
|