Re: jsonb and nested hstore

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Peter Geoghegan <pg(at)heroku(dot)com>, Oleg Bartunov <obartunov(at)gmail(dot)com>, Tomas Vondra <tv(at)fuzzy(dot)cz>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: jsonb and nested hstore
Date: 2014-03-13 15:22:58
Message-ID: 5321CD52.7060208@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 03/13/2014 10:49 AM, Greg Stark wrote:
> Another question. Is Peter's branch up to date with
> jsonb_populate_record() ? From discussions on list it sounds like the
> plan was to get rid of the use_json_as_text argument but his patch
> still has it.

Yes, we're not changing that, and some people like it anyway. The API is
intentionally the same as the legacy json_populate_record API.

>
> (Tangentially, I wonder if it wouldn't be possible to make this a
> plain cast. I'm not sure but I think it's possible to have a cast to a
> polymorphic type and peek at runtime at the record definition to
> determine what to do).
>

If you can simplify it be my guest.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-03-13 15:25:31 Re: [PATCH] Store Extension Options
Previous Message Robert Haas 2014-03-13 15:20:02 Re: [PATCH] Store Extension Options