aboutsummaryrefslogtreecommitdiff
path: root/src/man/create_database.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/create_database.l')
-rw-r--r--src/man/create_database.l14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/man/create_database.l b/src/man/create_database.l
index 8bf5f06ae27..25a809a8056 100644
--- a/src/man/create_database.l
+++ b/src/man/create_database.l
@@ -1,19 +1,25 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_database.l,v 1.3 1997/05/19 14:23:08 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_database.l,v 1.4 1997/11/07 06:33:55 thomas Exp $
.TH "CREATE DATABASE" SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME
create database \(em create a new database
.SH SYNOPSIS
.nf
-\fBcreate database\fP dbname
+\fBcreate database\fP dbname [\fBwith location = '\fPdbpath\fB'\fP]
.fi
.SH DESCRIPTION
-.BR "Create database"
+.BR "create database"
creates a new Postgres database. The creator becomes the administrator
-of the new database.
+of the new database. An alternate location can be specified as either an
+environment variable known to the backend server (e.g. 'PGDATA2') or as
+an absolute path name (e.g. '/home/postgres/data'). In either case, the
+location must be pre-configured by
+.BR initarea
+
.SH "SEE ALSO"
createdb(1),
drop database(l),
destroydb(1),
+initarea(1),
initdb(1).