OIDs for jsonb type

Started by Daniele Varrazzoover 11 years ago3 messagesgeneral
Jump to latest
#1Daniele Varrazzo
daniele.varrazzo@gmail.com

Hello,

I'm going to add support to the jsonb data type in psycopg2, in order
to have the type behaving like json currently does
(http://initd.org/psycopg/docs/extras.html#json-adaptation).

Is it correct that oid and arrayoid for the type will be 3802 and 3807
and that they won't change before the 9.4 final release?

Thank you very much

-- Daniele

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

#2Vik Fearing
vik@postgresfriends.org
In reply to: Daniele Varrazzo (#1)
Re: OIDs for jsonb type

On 08/12/2014 11:49 PM, Daniele Varrazzo wrote:

Hello,

I'm going to add support to the jsonb data type in psycopg2, in order
to have the type behaving like json currently does
(http://initd.org/psycopg/docs/extras.html#json-adaptation).

Is it correct that oid and arrayoid for the type will be 3802 and 3807
and that they won't change before the 9.4 final release?

That is correct.
--
Vik

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

#3Michael Paquier
michael@paquier.xyz
In reply to: Vik Fearing (#2)
Re: OIDs for jsonb type

On Wed, Aug 13, 2014 at 6:54 AM, Vik Fearing <vik.fearing@dalibo.com> wrote:

On 08/12/2014 11:49 PM, Daniele Varrazzo wrote:

Hello,

I'm going to add support to the jsonb data type in psycopg2, in order
to have the type behaving like json currently does
(http://initd.org/psycopg/docs/extras.html#json-adaptation).

Is it correct that oid and arrayoid for the type will be 3802 and 3807
and that they won't change before the 9.4 final release?

That is correct.

Any modifications on this stuff would require a dump of
CATALOG_VERSION_NO, something unlikely to happen after beta2.
--
Michael

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