Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
d98f2f99
Commit
d98f2f99
authored
27 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Support "with location" capability for database creation.
parent
66983893
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/man/create_database.l
+10
-4
10 additions, 4 deletions
src/man/create_database.l
src/man/createdb.1
+10
-4
10 additions, 4 deletions
src/man/createdb.1
with
20 additions
and
8 deletions
src/man/create_database.l
+
10
−
4
View file @
d98f2f99
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" 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
.TH "CREATE DATABASE" SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
create database \(em create a new database
create database \(em create a new database
.SH SYNOPSIS
.SH SYNOPSIS
.nf
.nf
\fBcreate database\fP dbname
\fBcreate database\fP dbname
[\fBwith location = '\fPdbpath\fB'\fP]
.fi
.fi
.SH DESCRIPTION
.SH DESCRIPTION
.BR "
C
reate database"
.BR "
c
reate database"
creates a new Postgres database. The creator becomes the administrator
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"
.SH "SEE ALSO"
createdb(1),
createdb(1),
drop database(l),
drop database(l),
destroydb(1),
destroydb(1),
initarea(1),
initdb(1).
initdb(1).
This diff is collapsed.
Click to expand it.
src/man/createdb.1
+
10
−
4
View file @
d98f2f99
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/createdb.1,v 1.
3
1997/
08/26 17:29:54 momjian
Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/createdb.1,v 1.
4
1997/
11/07 06:33:57 thomas
Exp $
.TH CREATEDB UNIX 11/05/95 PostgreSQL PostgreSQL
.TH CREATEDB UNIX 11/05/95 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
createdb \(em create a database
createdb \(em create a database
...
@@ -15,9 +15,12 @@ host]
...
@@ -15,9 +15,12 @@ host]
[\c
[\c
.BR -p
.BR -p
port]
port]
[\c
.BR -D
location]
[dbname]
[dbname]
.SH DESCRIPTION
.SH DESCRIPTION
.
I
R
C
reatedb
.
B
R
c
reatedb
creates a new database. The person who executes this command becomes
creates a new database. The person who executes this command becomes
the database administrator, or DBA, for this database and is the only
the database administrator, or DBA, for this database and is the only
person, other than the Postgres super-user, who can destroy it.
person, other than the Postgres super-user, who can destroy it.
...
@@ -42,12 +45,12 @@ The optional argument
...
@@ -42,12 +45,12 @@ The optional argument
.IR dbname
.IR dbname
specifies the name of the database to be created. The name must be
specifies the name of the database to be created. The name must be
unique among all Postgres databases.
unique among all Postgres databases.
.IR
D
bname
.IR
d
bname
defaults to the value of the
defaults to the value of the
.SM USER
.SM USER
environment variable.
environment variable.
.PP
.PP
.IR
C
reatedb
.IR
c
reatedb
understands the following command-line options:
understands the following command-line options:
.TP 5n
.TP 5n
.BR "-a" " system"
.BR "-a" " system"
...
@@ -59,6 +62,9 @@ to use in connecting to the
...
@@ -59,6 +62,9 @@ to use in connecting to the
.IR postmaster
.IR postmaster
process. The default is site-specific.
process. The default is site-specific.
.TP
.TP
.BR "-D" " dbpath"
Specifies the alternate database location for this database.
.TP
.BR "-h" " host"
.BR "-h" " host"
Specifies the hostname of the machine on which the
Specifies the hostname of the machine on which the
.IR postmaster
.IR postmaster
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment