doc: add missing and whitespace
authorAmit Langote
Fri, 28 Jul 2023 07:05:44 +0000 (16:05 +0900)
committerAmit Langote
Fri, 28 Jul 2023 07:05:44 +0000 (16:05 +0900)
Missed in commit 03734a7fed.

Author: Shinoda, Noriyoshi 
Discussion: https://postgr.es/m/DM4PR84MB1734E58BB4DC0E1B6E2990EBEE01A%40DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM

doc/src/sgml/func.sgml

index dcc9d6f59d7da53be09eb2ceb9bb6ea38324bf79..be2f54c9141dd68ef0ede8be3666379e5901a91b 100644 (file)
@@ -16008,7 +16008,8 @@ table2-mapping
          json (
          expression
           FORMAT JSON  ENCODING UTF8 
-          { WITH | WITHOUT } UNIQUE  KEYS 
+          { WITH | WITHOUT } UNIQUE  KEYS  )
+         json
         
         
          Converts a given expression specified as text or
@@ -16029,7 +16030,7 @@ table2-mapping
        
         
         json_scalar
-        json_scalar (expression)
+        json_scalar ( expression )
        
        
         Converts a given SQL scalar value into a JSON scalar value.
@@ -16052,7 +16053,7 @@ table2-mapping
        
         json_serialize (
         expression  FORMAT JSON  ENCODING UTF8  
-         RETURNING data_type  FORMAT JSON  ENCODING UTF8   )
+         RETURNING data_type  FORMAT JSON  ENCODING UTF8    )
        
        
         Converts an SQL/JSON expression into a character or binary string. The