Re: jsonb and nested hstore - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: jsonb and nested hstore
Date
Msg-id 53173A75.4080601@dunslane.net
Whole thread Raw
In response to Re: jsonb and nested hstore  (Bruce Momjian <bruce@momjian.us>)
Responses Re: jsonb and nested hstore
List pgsql-hackers
On 03/05/2014 09:39 AM, Bruce Momjian wrote:

>
> So, I am going to ask a back-track question and ask why we can't move
> hstore into core.  Is this a problem with the oids of the hstore data
> type and functions?  Is this a pg_upgrade-only problem?  Can this be
> fixed?

Yes, pg_upgrade is the problem, and no, I can't see how it can be fixed.

Builtin types have Oids in a certain range. Non-builtin types have Oids 
outside that range. If you have a clever way to get over that I'd be all 
ears, but it seems to me insurmountable right now.

A year or two ago I made a suggestion to help avoid such problems in 
future, but as Josh said it got shot down, and in any case it would not 
have helped with existing types such as hstore.

cheers

andrew



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Row-security on updatable s.b. views
Next
From: Michael Paquier
Date:
Subject: Re: Review: Patch FORCE_NULL option for copy COPY in CSV mode