Re: Partial index on JSON column

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Partial index on JSON column
Дата
Msg-id 27830.1550618259@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Partial index on JSON column  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Partial index on JSON column  (Samuel Williams <space.ship.traveller@gmail.com>)
Список pgsql-general
I wrote:
> Try it like

> EXPLAIN SELECT COUNT(*) FROM "user_event" WHERE ((parameters ->>
> 'suggestion_id'::text) = '26') AND what = 'suggestion_notification';

> I don't think we assume that CoerceViaIO is strict, and without that
> the deduction that the value couldn't be null doesn't hold.

Hmm ... on closer inspection, we do assume that CoerceViaIO is strict,
but not everyplace knows that, so there's something that could be
improved here.  In the meantime, try it as stated above.

            regards, tom lane


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

Предыдущее
От: Julie Nishimura
Дата:
Сообщение: adding more space to the existing 9.6 cluster
Следующее
От: Samuel Williams
Дата:
Сообщение: Re: Partial index on JSON column