Re: additional json functionality - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: additional json functionality
Date
Msg-id CAHyXU0yTAGQvQURVXWaPnMO+zZOHMgvTUbe4f54D3Df2ERHRzQ@mail.gmail.com
Whole thread Raw
In response to Re: additional json functionality  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Fri, Nov 15, 2013 at 2:54 PM, Josh Berkus <josh@agliodbs.com> wrote:
> On 11/15/2013 12:25 PM, Merlin Moncure wrote:
>> Kinda yes, kinda no.  Here's a rough sketch of what I'm thinking:
>>
>> *) 'json' type internally has a binary as well a text representation.
>> The text representation is basically the current type behavior
>
> <snip long detailed explanation of behavior-dependant type>
>
> That's not at all workable.  Users would be completely unable to predict
> or understand the JSON type and how it acts.  That's not just violating
> POLS; that's bashing POLS' head in with a shovel.

All right: make a new type then, and leave the current one alone please.

merlin



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: additional json functionality
Next
From: Andres Freund
Date:
Subject: Re: additional json functionality