Re: jsonb and nested hstore

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: jsonb and nested hstore
Date: 2014-02-05 06:44:38
Message-ID: 52F1DDD6.2060101@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02/03/2014 05:22 PM, Merlin Moncure wrote:
>> >I lost my stomach (or maybe it was the glass of red) somewhere in the
>> >middle, but I think this needs a lot of work. Especially the io code
>> >doesn't seem ready to me. I'd consider ripping out the send/recv code
>> >for 9.4, that seems the biggest can of worms. It will still be usable
>> >without.
> Not having type send/recv functions is somewhat dangerous; it can
> cause problems for libraries that run everything through the binary
> wire format. I'd give jsonb a pass on that, being a new type, but
> would be concerned if hstore had that ability revoked.

send/recv functions are also needed for binary-format COPY. IMHO jsonb
must have send/recv functions. All other built-in types have them,
except for types like 'smgr', 'aclitem' and 'any*' that no-one should be
using as column types.

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2014-02-05 07:03:51 Re: PostgreSQL Failback without rebuild
Previous Message Amit Kapila 2014-02-05 06:14:21 Re: PostgreSQL Failback without rebuild