Re: [HACKERS] btree_gin and btree_gist for enums

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [HACKERS] btree_gin and btree_gist for enums
Дата
Msg-id 3b969375-dcb5-aa73-b8e9-cacd5c8d60ef@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] btree_gin and btree_gist for enums  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] btree_gin and btree_gist for enums  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 02/23/2017 04:41 PM, Tom Lane wrote:
> BTW, while I'm looking at this ... isn't gin_enum_cmp broken on its face?
> It's using DirectFunctionCall2 to call enum_cmp, and that's wrong because
> DirectFunctionCall2 does not pass through a flinfo but enum_cmp needs to
> have one.  I've not tested, but I'm certain that this would dump core if
> asked to compare odd-numbered enum OIDs.
>
>             



Yes, that's what I'm trying to fix.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] btree_gin and btree_gist for enums
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] \if, \elseif, \else, \endif (was Re: PSQL commands:\quit_if, \quit_unless)