Skip to content

Commit eb54314

Browse files
committed
Re-add equals documentation with CREATE DATABASE.
1 parent 95ec9ff commit eb54314

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

doc/TODO

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TODO list for PostgreSQL
22
========================
3-
Last updated: Sat Feb 23 16:51:48 EST 2002
3+
Last updated: Sun Feb 24 22:35:16 EST 2002
44

55
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
66

@@ -55,9 +55,9 @@ ADMIN
5555
-----
5656

5757
* Incremental backups
58-
* Make it easier to create a database owned by someone who can't createdb,
58+
* -Make it easier to create a database owned by someone who can't createdb,
5959
perhaps CREATE DATABASE dbname WITH OWNER = "user" (Gavin)
60-
* Make equals sign optional in CREATE DATABASE WITH param = 'val'
60+
* -Make equals sign optional in CREATE DATABASE WITH param = 'val'
6161
* Remove unreferenced table files and temp tables during database vacuum
6262
or postmaster startup (Bruce)
6363
* Add table name mapping for numeric file names (Bruce)

doc/src/sgml/ref/create_database.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.25 2002/02/25 02:53:46 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.26 2002/02/25 03:37:13 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -24,10 +24,10 @@ PostgreSQL documentation
2424
</refsynopsisdivinfo>
2525
<synopsis>
2626
CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
27-
[ WITH [ OWNER <replaceable class="parameter">dbowner</replaceable> ]
28-
[ LOCATION '<replaceable class="parameter">dbpath</replaceable>' ]
29-
[ TEMPLATE <replaceable class="parameter">template</replaceable> ]
30-
[ ENCODING <replaceable class="parameter">encoding</replaceable> ] ]
27+
[ WITH [ OWNER [=] <replaceable class="parameter">dbowner</replaceable> ]
28+
[ LOCATION [=] '<replaceable class="parameter">dbpath</replaceable>' ]
29+
[ TEMPLATE [=] <replaceable class="parameter">template</replaceable> ]
30+
[ ENCODING [=] <replaceable class="parameter">encoding</replaceable> ] ]
3131
</synopsis>
3232

3333
<refsect2 id="R2-SQL-CREATEDATABASE-1">

src/backend/parser/gram.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.280 2002/02/25 02:53:46 momjian Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.281 2002/02/25 03:37:14 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR EVENT
@@ -3156,8 +3156,8 @@ createdb_opt_item: LOCATION opt_equal Sconst
31563156
;
31573157

31583158
/*
3159-
* Optional equals is here only for backward compatibility.
3160-
* Should be removed someday. bjm 2002-02-24
3159+
* Though the equals sign doesn't match other WITH options, pg_dump uses
3160+
* equals for backward compability, and it doesn't seem worth remove it.
31613161
*/
31623162
opt_equal: '=' { $$ = TRUE; }
31633163
| /*EMPTY*/ { $$ = FALSE; }

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy