Re: Collation-aware comparisons in GIN opclasses

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Collation-aware comparisons in GIN opclasses
Дата
Msg-id CAM3SWZQ9x4Sgp6YaT-=MfBRwjMDGLwoy3Cd4borueaCZZCXgow@mail.gmail.com
обсуждение исходный текст
Ответ на Collation-aware comparisons in GIN opclasses  (Alexander Korotkov <aekorotkov@gmail.com>)
Ответы Re: Collation-aware comparisons in GIN opclasses  (Alexander Korotkov <aekorotkov@gmail.com>)
Re: Collation-aware comparisons in GIN opclasses  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Sep 15, 2014 at 8:28 AM, Alexander Korotkov
<aekorotkov@gmail.com> wrote:
> some GIN opclasses uses collation-aware comparisons while they don't need to
> do especially collation-aware comparison. Examples are text[] and hstore
> opclasses. Depending on collation this may make them a much slower.

I'm glad that I saw how pointless this was with the jsonb GIN default
opclass during development.

> Rename such opclasses and make them not default.
> Create new default opclasses with bitwise comparison functions.
> Write recommendation to re-create indexes with default opclasses into
> documentation.

I certainly think this should be fixed if at all possible, but I'm not
sure about this plan. Can we really rename an opclass without
consequence, including having that respected across pg_upgrade?


-- 
Peter Geoghegan



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: jsonb contains behaviour weirdness
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Support for N synchronous standby servers