Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
c2099751
Commit
c2099751
authored
11 years ago
by
Andrew Dunstan
Browse files
Options
Downloads
Patches
Plain Diff
Minor docs fixes for new json functions.
Thom Brown.
parent
7043ac71
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/func.sgml
+6
-5
6 additions, 5 deletions
doc/src/sgml/func.sgml
with
6 additions
and
5 deletions
doc/src/sgml/func.sgml
+
6
−
5
View file @
c2099751
...
@@ -10309,7 +10309,7 @@ table2-mapping
...
@@ -10309,7 +10309,7 @@ table2-mapping
</entry>
</entry>
<entry><type>json</type></entry>
<entry><type>json</type></entry>
<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>
<entry><literal>SELECT json_build_array(1,2,'3',4,5);</literal></entry>
<entry><literal>SELECT json_build_array(1,2,'3',4,5);</literal></entry>
<entry>
<entry>
...
@@ -10329,7 +10329,8 @@ table2-mapping
...
@@ -10329,7 +10329,8 @@ table2-mapping
</entry>
</entry>
<entry><type>json</type></entry>
<entry><type>json</type></entry>
<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.
constructed out of alternating name/value arguments.
</entry>
</entry>
<entry><literal>SELECT json_build_object('foo',1,'bar',2);</literal></entry>
<entry><literal>SELECT json_build_object('foo',1,'bar',2);</literal></entry>
...
@@ -10371,8 +10372,8 @@ table2-mapping
...
@@ -10371,8 +10372,8 @@ table2-mapping
</entry>
</entry>
<entry><type>json</type></entry>
<entry><type>json</type></entry>
<entry>
<entry>
The two
argument form of JSON object takes keys and values pairwise from two separate
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.
arrays. In all other respects it is identical to the one
-
argument form.
</entry>
</entry>
<entry><literal>select * from json_object('{a, b}', '{1,2}');</literal></entry>
<entry><literal>select * from json_object('{a, b}', '{1,2}');</literal></entry>
<entry>
<entry>
...
@@ -10457,7 +10458,7 @@ table2-mapping
...
@@ -10457,7 +10458,7 @@ table2-mapping
<note>
<note>
<para>
<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
"best effort" and may not result in desired values for some types. JSON
elements are matched to identical field names in the record definition,
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
and elements which do not exist in the JSON will simply be NULL. JSON
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment