Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c2099751
Commit
c2099751
authored
Jan 28, 2014
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor docs fixes for new json functions.
Thom Brown.
parent
7043ac71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+6
-5
No files found.
doc/src/sgml/func.sgml
View file @
c2099751
...
...
@@ -10309,7 +10309,7 @@ table2-mapping
</entry>
<entry><type>
json
</type></entry>
<entry>
Builds a heterogeneously
typed json array out of a variadic argument list.
Builds a heterogeneously
-
typed json array out of a variadic argument list.
</entry>
<entry><literal>
SELECT json_build_array(1,2,'3',4,5);
</literal></entry>
<entry>
...
...
@@ -10329,7 +10329,8 @@ table2-mapping
</entry>
<entry><type>
json
</type></entry>
<entry>
Builds a JSON array out of a variadic agument list. By convention, the object is
Builds a JSON array out of a variadic argument list.
By convention, the object is
constructed out of alternating name/value arguments.
</entry>
<entry><literal>
SELECT json_build_object('foo',1,'bar',2);
</literal></entry>
...
...
@@ -10371,8 +10372,8 @@ table2-mapping
</entry>
<entry><type>
json
</type></entry>
<entry>
The two
argument form of JSON object takes keys and values pairwise from two separate
arrays. In all other respects it is identical to the one
argument form.
The two
-
argument form of JSON object takes keys and values pairwise from two separate
arrays. In all other respects it is identical to the one
-
argument form.
</entry>
<entry><literal>
select * from json_object('{a, b}', '{1,2}');
</literal></entry>
<entry>
...
...
@@ -10457,7 +10458,7 @@ table2-mapping
<note>
<para>
In json_to_record and json_to_recordset, type
coercion from the JSON is
In json_to_record and json_to_recordset, type
-
coercion from the JSON is
"best effort" and may not result in desired values for some types. JSON
elements are matched to identical field names in the record definition,
and elements which do not exist in the JSON will simply be NULL. JSON
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment