Re: jsonb and nested hstore

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Christophe Pettus <xof(at)thebuild(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: jsonb and nested hstore
Date: 2014-03-05 16:43:31
Message-ID: 20140305164331.GV12995@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Merlin Moncure (mmoncure(at)gmail(dot)com) wrote:
> On Wed, Mar 5, 2014 at 10:24 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
> >>>> *All* non-sql standard types ought to be in extensions in an ideal world.
> >
> > While there's certainly much to be said for the idea that jsonb should be
> > an extension, I don't think we have the technology to package it as a
> > *separate* extension; it'd have to be included in the hstore extension.
>
> I disagree with that. The shared C bits can live inside the core
> system and the SQL level hooks and extension specific behaviors could
> live in an extension. AFAICT moving jsonb to extension is mostly a
> function of migrating the hard coded SQL hooks out to an extension
> (I'm probably oversimplifying though).

Yeah, from what I gather you're suggesting, that's more-or-less "move it
all to core", except that all of the actual interface bits end up in an
extension that has to be installed to use what would have to already be
there. I don't see that as any kind of improvement.

Thanks,

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-03-05 16:44:38 Re: jsonb and nested hstore
Previous Message Merlin Moncure 2014-03-05 16:38:47 Re: jsonb and nested hstore