Re: jsonb status

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: jsonb status
Дата
Msg-id CAF4Au4wXW6XsehaTq50eP0Vaq1qVKjGu2ff_C-MBX3aoPCicmA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: jsonb status  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: jsonb status  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
It's easy to add support of other operations to hash_ops, so it will
be on par with default GIN opclass, at the price of bigger size.  We
can add it later to contrib/jsonbext.

I'm mostly worrying about changing semantics of scalar.


On Sun, Mar 23, 2014 at 4:27 AM, Peter Geoghegan <pg@heroku.com> wrote:
> On Sat, Mar 22, 2014 at 5:22 PM, Bruce Momjian <bruce@momjian.us> wrote:
>> What did you decide about hashing values in indexes vs. putting them in
>> literally?
>
> There are two GIN opclasses supplied. There is a default, which
> supports more operators (various "existence" operators - see the
> documentation). There is an alternative called jsonb_hash_ops that
> only supports containment, and performs considerably better than the
> default. Containment *is* the compelling operator to support, though -
> you can do rather a lot with it. This must be what you're referring
> to, since I recall you blogged about the response it got at pgConf.EU.
> Both are available.
>
>
> --
> Peter Geoghegan
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Triggers on foreign tables
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: Fwd: Proposal: variant of regclass