TODO list for PostgreSQL
========================
-Last updated: Sat Feb 23 16:51:48 EST 2002
+Last updated: Sun Feb 24 22:35:16 EST 2002
-----
* 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)
CREATE DATABASE name
- [ WITH [ OWNER dbowner ]
- [ LOCATION 'dbpath' ]
- [ TEMPLATE template ]
- [ ENCODING encoding ] ]
+ [ WITH [ OWNER [=] dbowner ]
+ [ LOCATION [=] 'dbpath' ]
+ [ TEMPLATE [=] template ]
+ [ ENCODING [=] encoding ] ]
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.280 2002/02/25 02:53:46 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.281 2002/02/25 03:37:14 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
;
/*
- * 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; }