doc: simplify WITH clause syntax in CREATE DATABASE
authorBruce Momjian
Wed, 31 Aug 2022 21:08:44 +0000 (17:08 -0400)
committerBruce Momjian
Wed, 31 Aug 2022 21:08:44 +0000 (17:08 -0400)
Reported-by: Rob
Discussion: https://postgr.es/m/20211016171149.yaouvlw5kvux6dvk@localhost

Author: Rob 

Backpatch-through: 10

doc/src/sgml/ref/create_database.sgml

index 0b32e7ecf99e44e259899cc538376053655aab94..0ce0bd8a1a62b95fafdc92339790d4e1fda39eae 100644 (file)
@@ -22,7 +22,7 @@ PostgreSQL documentation
  
 
 CREATE DATABASE name
-    [ WITH ] [ OWNER [=] user_name ]
+    [ WITH ] [ OWNER [=] user_name ]
            [ TEMPLATE [=] template ]
            [ ENCODING [=] encoding ]
            [ STRATEGY [=] strategy ] ]
@@ -36,7 +36,7 @@ CREATE DATABASE name
            [ ALLOW_CONNECTIONS [=] allowconn ]
            [ CONNECTION LIMIT [=] connlimit ]
            [ IS_TEMPLATE [=] istemplate ]
-           [ OID [=] oid ] ]
+           [ OID [=] oid ]