Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb54314

Browse files
committed
Re-add equals documentation with CREATE DATABASE.
1 parent95ec9ff commiteb54314

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 Feb23 16:51:48 EST 2002
3+
Last updated:Sun Feb24 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/2502:53:46 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.26 2002/02/2503: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/2502:53:46 momjian Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.281 2002/02/2503:37:14 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -3156,8 +3156,8 @@ createdb_opt_item: LOCATION opt_equal Sconst
31563156
;
31573157

31583158
/*
3159-
*Optionalequalsis here only for backward compatibility.
3160-
*Should be removed someday. bjm 2002-02-24
3159+
*Though theequalssign 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)

[8]ページ先頭

©2009-2025 Movatter.jp