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

Author: Rob <[email protected]>

Backpatch-through: 10

doc/src/sgml/ref/create_database.sgml

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