Re: jsonb and nested hstore

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: jsonb and nested hstore
Дата
Msg-id CAM3SWZTxU8X89DNBf=5hu8=kV3RSpp0Y-zzW6SQUBEVwJ71zxA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: jsonb and nested hstore  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: jsonb and nested hstore  (Teodor Sigaev <teodor@sigaev.ru>)
Re: jsonb and nested hstore  (Oleg Bartunov <obartunov@gmail.com>)
Список pgsql-hackers
On Thu, Mar 6, 2014 at 12:23 AM, Teodor Sigaev <teodor@sigaev.ru> wrote:
> That's possible to introduce GUC variable for i/o functions which will
> control old "bug-to-bug" behavior. IMHO, this is much better option that
> stopping hstore development or split hstore to two branches.

A GUC that controls i/o functions is generally considered to be an
unacceptable hack.

In what sense are we really stopping hstore development if hstore2
lives as jsonb? I have a hard time imagining someone dealing with the
incompatibility that a user-facing hstore2 would introduce, while
still preferring hstore syntax over json syntax given the choice.
There are very rich facilities for manipulating json available in
every programming language. The same is not true of hstore.

Having looked at the issue today, I think that the amount of redundant
code between a hstore2 in core as jsonb and hstore1 will be
acceptable. The advantages of making a clean-break in having to
support the legacy hstore disk format strengthen the case for doing so
too.

-- 
Peter Geoghegan



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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: jsonb and nested hstore
Следующее
От: Haribabu Kommi
Дата:
Сообщение: Re: contrib/cache_scan (Re: What's needed for cache-only table scan?)