Re: [HACKERS] Multicolumn hash indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Multicolumn hash indexes
Дата
Msg-id 20188.1506467921@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] Multicolumn hash indexes  (Tomasz Ostrowski <tometzky+pg@ato.waw.pl>)
Ответы Re: [HACKERS] Multicolumn hash indexes  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Tomasz Ostrowski <tometzky+pg@ato.waw.pl> writes:
> I've noticed that hash indexes can't currently (in PG10) be multicolumn. 
> Are they technically hard to implement or just nobody took such a feature?

It's not simple, particularly not if you wish that the index would support
queries specifying conditions for just a subset of the indexed columns
(an assumption that's buried pretty deeply in the planner, for one thing).
Then you couldn't compute the hash.
        regards, tom lane


-- 
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 по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: [HACKERS] v10 pg_ctl compatibility
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Multicolumn hash indexes