json functions

Started by Jayadevan Malmost 13 years ago4 messagesgeneral
Jump to latest
#1Jayadevan M
Jayadevan.Maymala@ibsplc.com

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."

#2Michael Paquier
michael@paquier.xyz
In reply to: Jayadevan M (#1)
Re: json functions

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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3Merlin Moncure
mmoncure@gmail.com
In reply to: Jayadevan M (#1)
Re: json functions

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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#4Jayadevan M
Jayadevan.Maymala@ibsplc.com
In reply to: Merlin Moncure (#3)
Re: json functions

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 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."

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general