> "Chapman" == Chapman Flack writes:
>> To clarify, I think my question is functions like json_each or
>> json_object_keys() are
>> set returning functions (
>> https://www.postgresql.org/docs/9.5/static/functions-srf.html),
>> which means it returns a set of results into a Datum.
Chap
On 05/31/18 20:20, Charles Cui wrote:
> To clarify, I think my question is functions like json_each or
> json_object_keys() are
> set returning functions (
> https://www.postgresql.org/docs/9.5/static/functions-srf.html),
> which means it returns a set of results into a Datum.
Well, it returns one
> "Charles" == Charles Cui writes:
Charles> Thanks you guys for answering my questions, and sorry for confusion.
Charles> To clarify, I think my question is functions like json_each or
Charles> json_object_keys() are
Charles> set returning functions (
Charles> https://www.postgresql.org/
Thanks you guys for answering my questions, and sorry for confusion.
To clarify, I think my question is functions like json_each or
json_object_keys() are
set returning functions (
https://www.postgresql.org/docs/9.5/static/functions-srf.html),
which means it returns a set of results into a Datum.
> "Charles" == Charles Cui writes:
Charles> Hi mentors and hackers,
Charles>Found the json API page here
Charles> https://www.postgresql.org/docs/9.3/static/functions-json.html
Charles> For some APIs, it returns set of results, for example,
Charles> json_each(json) and json_object_
On Wed, May 30, 2018 at 08:16:18PM -0700, Charles Cui wrote:
> Basically, I want to call these json API inside a plugin, and the return
> value for these APIs are Datum. I am wondering how to parse a set of json
> results from Datum in postgresql? Seems the helper functions I am aware of
> are only