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 41cb4068ec2fcbcfd4ce4ddb030a2ac068e55685..ec831bb57f9a08c1d731b8edc87860aa94eca3c5 100644 (file)
@@ -22,7 +22,7 @@ PostgreSQL documentation
  
 
 CREATE DATABASE name
-    [ WITH ] [ OWNER [=] user_name ]
+    [ WITH ] [ OWNER [=] user_name ]
            [ TEMPLATE [=] template ]
            [ ENCODING [=] encoding ]
            [ LOCALE [=] locale ]
@@ -31,7 +31,7 @@ CREATE DATABASE name
            [ TABLESPACE [=] tablespace_name ]
            [ ALLOW_CONNECTIONS [=] allowconn ]
            [ CONNECTION LIMIT [=] connlimit ]
-           [ IS_TEMPLATE [=] istemplate ] ]
+           [ IS_TEMPLATE [=] istemplate ]