public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andrew Dunstan <[email protected]>
To: Tomas Vondra <[email protected]>
To: Joel Jacobson <[email protected]>
To: jian he <[email protected]>
Cc: [email protected]
Subject: Re: Do we want a hashset type?
Date: Mon, 12 Jun 2023 09:19:08 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<CACJufxE=QbDzYYay4Z6MJ=BqdkYiHi_P34YOKduyQ0yyXmMhOw@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>


On 2023-06-12 Mo 09:00, Tomas Vondra wrote:
>
>> What was the json/jsonb story, was it ever an extension before
>> being included in core?
> I don't recall what the exact story was, but I guess the "json" type was
> added to core very long ago (before we started to push back a bit), and
> we added some SQL grammar stuff too, which can't be done from extension.
> So when we added jsonb (much later than json), there wasn't much point
> in not having it in core.
>
>

Not quite.

The json type as added in 9.2 (Sept 2012) and jsonb in 9.4 (Dec 2014). I 
wouldn't call those far apart or very long ago. Neither included any 
grammar changes AFAIR.

But if they had been added as extensions we'd probably be in a whole lot 
more trouble now implementing SQL/JSON, so whether that was foresight or 
laziness I think the we landed on our feet there.


cheers


andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Do we want a hashset type?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox