Обсуждение: json functions

Поиск
Список
Период
Сортировка

json functions

От
Jayadevan M
Дата:

Hi,

 

I have PostgreSQL 9.2.1. I can see a few json functions under pg_catalog, json_send, for example. But I can’t find any documentation. Am I missing something?

 

Regards,

Jayadevan

 



DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."

Re: json functions

От
Michael Paquier
Дата:
On Wed, Jun 19, 2013 at 2:00 PM, Jayadevan M
<jayadevan.maymala@ibsplc.com> wrote:
> I have PostgreSQL 9.2.1. I can see a few json functions under pg_catalog,
> json_send, for example. But I can’t find any documentation. Am I missing
> something?
I am sure you are looking for that:
http://www.postgresql.org/docs/9.2/static/datatype-json.html
http://www.postgresql.org/docs/9.2/static/functions-json.html

Note that 9.3 has far more features related to json:
http://www.postgresql.org/docs/9.3/static/functions-json.html
--
Michael


Re: json functions

От
Merlin Moncure
Дата:
On Wed, Jun 19, 2013 at 12:00 AM, Jayadevan M
<jayadevan.maymala@ibsplc.com> wrote:
> Hi,
>
>
>
> I have PostgreSQL 9.2.1. I can see a few json functions under pg_catalog,
> json_send, for example. But I can’t find any documentation. Am I missing
> something?

json_send like all send functions is internal.  Not all functions
available in the catalog are exposed through SQL -- for example they
may be used to serialize data for transmission over the wire.  If you
can handle C you can hunt down the location of the function to see
what it does (which isn't much since json is an already serialized
format).

merlin


Re: json functions

От
Jayadevan M
Дата:
Hi,
>json_send like all send functions is internal.  Not all functions available in the
>catalog are exposed through SQL -- for example they may be used to serialize
>data for transmission over the wire.  If you can handle C you can hunt down
>the location of the function to see what it does (which isn't much since json is
>an already serialized format).
OK. That explains it. I was wondering why we have quite a few functions under pg_catalog and just a few in the
documentation.Thank you. 
Regards,
Jayadevan


DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressed
andmay contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the
senderand destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees
theaccuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable
forany errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."