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.
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com