1996-11-14 11:18:14 +01:00
|
|
|
.\" This is -*-nroff-*-
|
|
|
|
.\" XXX standard disclaimer belongs here....
|
1998-01-11 23:18:01 +01:00
|
|
|
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_database.l,v 1.5 1998/01/11 22:17:13 momjian Exp $
|
1996-12-11 01:28:15 +01:00
|
|
|
.TH "CREATE DATABASE" SQL 11/05/95 PostgreSQL PostgreSQL
|
1996-11-14 11:18:14 +01:00
|
|
|
.SH NAME
|
1998-01-11 23:18:01 +01:00
|
|
|
create database - create a new database
|
1996-11-14 11:18:14 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
1997-11-07 07:33:57 +01:00
|
|
|
\fBcreate database\fP dbname [\fBwith location = '\fPdbpath\fB'\fP]
|
1996-11-14 11:18:14 +01:00
|
|
|
.fi
|
|
|
|
.SH DESCRIPTION
|
1997-11-07 07:33:57 +01:00
|
|
|
.BR "create database"
|
1996-11-14 11:18:14 +01:00
|
|
|
creates a new Postgres database. The creator becomes the administrator
|
1997-11-07 07:33:57 +01:00
|
|
|
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
|
|
|
|
|
1996-11-14 11:18:14 +01:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
createdb(1),
|
|
|
|
drop database(l),
|
|
|
|
destroydb(1),
|
1997-11-07 07:33:57 +01:00
|
|
|
initarea(1),
|
1996-11-14 11:18:14 +01:00
|
|
|
initdb(1).
|