Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
eb54314b
Commit
eb54314b
authored
Feb 25, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-add equals documentation with CREATE DATABASE.
parent
95ec9ff2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
doc/TODO
doc/TODO
+3
-3
doc/src/sgml/ref/create_database.sgml
doc/src/sgml/ref/create_database.sgml
+5
-5
src/backend/parser/gram.y
src/backend/parser/gram.y
+3
-3
No files found.
doc/TODO
View file @
eb54314b
TODO list for PostgreSQL
========================
Last updated: S
at Feb 23 16:51:48
EST 2002
Last updated: S
un Feb 24 22:35:16
EST 2002
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
...
@@ -55,9 +55,9 @@ ADMIN
-----
* Incremental backups
* Make it easier to create a database owned by someone who can't createdb,
*
-
Make it easier to create a database owned by someone who can't createdb,
perhaps CREATE DATABASE dbname WITH OWNER = "user" (Gavin)
* Make equals sign optional in CREATE DATABASE WITH param = 'val'
*
-
Make equals sign optional in CREATE DATABASE WITH param = 'val'
* Remove unreferenced table files and temp tables during database vacuum
or postmaster startup (Bruce)
* Add table name mapping for numeric file names (Bruce)
...
...
doc/src/sgml/ref/create_database.sgml
View file @
eb54314b
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.2
5 2002/02/25 02:53:46
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.2
6 2002/02/25 03:37:13
momjian Exp $
PostgreSQL documentation
-->
...
...
@@ -24,10 +24,10 @@ PostgreSQL documentation
</refsynopsisdivinfo>
<synopsis>
CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
[ WITH [ OWNER <replaceable class="parameter">dbowner</replaceable> ]
[ LOCATION '<replaceable class="parameter">dbpath</replaceable>' ]
[ TEMPLATE <replaceable class="parameter">template</replaceable> ]
[ ENCODING <replaceable class="parameter">encoding</replaceable> ] ]
[ WITH [ OWNER
[=]
<replaceable class="parameter">dbowner</replaceable> ]
[ LOCATION
[=]
'<replaceable class="parameter">dbpath</replaceable>' ]
[ TEMPLATE
[=]
<replaceable class="parameter">template</replaceable> ]
[ ENCODING
[=]
<replaceable class="parameter">encoding</replaceable> ] ]
</synopsis>
<refsect2 id="R2-SQL-CREATEDATABASE-1">
...
...
src/backend/parser/gram.y
View file @
eb54314b
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.28
0 2002/02/25 02:53:46
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.28
1 2002/02/25 03:37:14
momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
...
...
@@ -3156,8 +3156,8 @@ createdb_opt_item: LOCATION opt_equal Sconst
;
/*
*
Optional equals is here only for backward compatibility.
*
Should be removed someday. bjm 2002-02-24
*
Though the equals sign doesn't match other WITH options, pg_dump uses
*
equals for backward compability, and it doesn't seem worth remove it.
*/
opt_equal: '=' { $$ = TRUE; }
| /*EMPTY*/ { $$ = FALSE; }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment