Re: DISTINCT on jsonb fields and Indexes

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: DISTINCT on jsonb fields and Indexes
Дата
Msg-id CAHOFxGoMiX+Vc=E_t5yxaWZbe2+cbU-68bWJYge_AB+foVfDTw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DISTINCT on jsonb fields and Indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: DISTINCT on jsonb fields and Indexes
Re: DISTINCT on jsonb fields and Indexes
Список pgsql-general
In the example of "select distinct expression", the planner will never notice
that that expression has anything to do with an index.

Thanks for that explanation. I assume re-writing as a 'group by' would have no bearing on that planner decision.

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