Обсуждение: OIDs for jsonb type

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

OIDs for jsonb type

От
Daniele Varrazzo
Дата:
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


Re: OIDs for jsonb type

От
Vik Fearing
Дата:
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


Re: OIDs for jsonb type

От
Michael Paquier
Дата:
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