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

From Bruce Momjian
Subject Re: jsonb and nested hstore
Date
Msg-id 20140305172949.GA15259@momjian.us
Whole thread Raw
In response to Re: jsonb and nested hstore  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Wed, Mar  5, 2014 at 12:26:13PM -0500, Robert Haas wrote:
> >> It's not clear how much different it would be if we waited til 9.5
> >> either- do we anticipate a lot of code changes beyond the copy/paste for
> >> these?
> >
> > What _would_ be interesting is to move all the hstore code into core,
> > and have hstore contrib just call the hstore core parts.  That way, you
> > have one copy of the code, it is shared with JSONB, but hstore remains
> > as an extension that you can change or remove later.
> 
> That seems like an approach possibly worth investigating.  It's not
> too different from what we did when we moved text search into core.
> The basic idea seems to be that we want jsonb in core, and we expect
> it to replace hstore, but we can't get just get rid of hstore because
> it has too many users.

Yes.  It eliminates the problem of code duplication, but keeps hstore in
contrib for flexibility and compatibility.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: jsonb and nested hstore
Next
From: Merlin Moncure
Date:
Subject: Re: jsonb and nested hstore