Re: jsonb and nested hstore

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: jsonb and nested hstore
Дата
Msg-id 5321CD52.7060208@dunslane.net
обсуждение исходный текст
Ответ на Re: jsonb and nested hstore  (Greg Stark <stark@mit.edu>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Store Extension Options
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] Store Extension Options