Index: doc/src/sgml/ref/create_database.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v
retrieving revision 1.24
diff -c -r1.24 create_database.sgml
*** doc/src/sgml/ref/create_database.sgml 24 Feb 2002 20:20:18 -0000 1.24
--- doc/src/sgml/ref/create_database.sgml 25 Feb 2002 02:48:15 -0000
***************
*** 24,33 ****
CREATE DATABASE name
! [ WITH [ OWNER [ = ] dbowner ]
! [ LOCATION [ = ] 'dbpath' ]
! [ TEMPLATE [ = ] template ]
! [ ENCODING [ = ] encoding ] ]
--- 24,33 ----
CREATE DATABASE name
! [ WITH [ OWNER dbowner ]
! [ LOCATION 'dbpath' ]
! [ TEMPLATE template ]
! [ ENCODING encoding ] ]
***************
*** 186,196 ****
Normally, the creator becomes the owner of the new database.
! A different owner may be specified by using the
--- 186,195 ----
Normally, the creator becomes the owner of the new database.
! Superusers can create databases owned by other users using the
!
Index: src/backend/parser/gram.y
===================================================================
RCS file: /cvsroot/pgsql/src/backend/parser/gram.y,v
retrieving revision 2.279
diff -c -r2.279 gram.y
*** src/backend/parser/gram.y 24 Feb 2002 20:20:20 -0000 2.279
--- src/backend/parser/gram.y 25 Feb 2002 02:48:26 -0000
***************
*** 3155,3160 ****
--- 3155,3164 ----
}
;
+ /*
+ * Optional equals is here only for backward compatibility.
+ * Should be removed someday. bjm 2002-02-24
+ */
opt_equal: '=' { $$ = TRUE; }
| /*EMPTY*/ { $$ = FALSE; }
;