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
d7d58320
Commit
d7d58320
authored
Apr 04, 2013
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few thinkos in the JSON functions docs.
Dickson S. Guedes
parent
b8ed4cc9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+5
-5
No files found.
doc/src/sgml/func.sgml
View file @
d7d58320
...
...
@@ -9967,7 +9967,7 @@ table2-mapping
a boolean or NULL, the text representation will be used, escaped and
quoted so that it is legal JSON.
</entry>
<entry><literal>
to_json('Fred said "Hi."'
</literal></entry>
<entry><literal>
to_json('Fred said "Hi."'
::text)
</literal></entry>
<entry><literal>
"Fred said \"Hi.\""
</literal></entry>
</row>
<row>
...
...
@@ -9995,7 +9995,7 @@ table2-mapping
<entry>
Expands the outermost json object into a set of key/value pairs.
</entry>
<entry><literal>
select * from json_each
_as_text
('{"a":"foo", "b":"bar"}')
</literal></entry>
<entry><literal>
select * from json_each('{"a":"foo", "b":"bar"}')
</literal></entry>
<entry>
<programlisting>
key | value
...
...
@@ -10017,7 +10017,7 @@ table2-mapping
Expands the outermost json object into a set of key/value pairs. The
returned value will be of type text.
</entry>
<entry><literal>
select * from json_each_
as_
text('{"a":"foo", "b":"bar"}')
</literal></entry>
<entry><literal>
select * from json_each_text('{"a":"foo", "b":"bar"}')
</literal></entry>
<entry>
<programlisting>
key | value
...
...
@@ -10090,7 +10090,7 @@ table2-mapping
effort; columns in base with no corresponding key in from_json
will be left null. A column may only be specified once.
</entry>
<entry><literal>
json_populate_record(null::x, '{"a":1,"b":2}')
</literal></entry>
<entry><literal>
select * from
json_populate_record(null::x, '{"a":1,"b":2}')
</literal></entry>
<entry>
<programlisting>
a | b
...
...
@@ -10114,7 +10114,7 @@ table2-mapping
corresponding key in from_json will be left null. A column
may only be specified once.
</entry>
<entry><literal>
json_populate_recordset(null::x, '[{"a":1,"b":2},{"a":3,"b":4}]')
</literal></entry>
<entry><literal>
select * from
json_populate_recordset(null::x, '[{"a":1,"b":2},{"a":3,"b":4}]')
</literal></entry>
<entry>
<programlisting>
a | b
...
...
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