Re: Hashable custom types

Поиск
Список
Период
Сортировка
От Paul Ramsey
Тема Re: Hashable custom types
Дата
Msg-id etPan.559d8931.431bd7b7.e975@Crane.local
обсуждение исходный текст
Ответ на Re: Hashable custom types  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Hashable custom types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

> It still says I lack the secret sauce...

> ERROR: could not implement recursive UNION
> DETAIL: All column datatypes must be hashable.

UNION will preferentially glom onto the btree equality operator, if memory
serves. If that isn't also the hash equality operator, things won't work
pleasantly.

So… what does that mean for types that have both btree and hash equality operators? Don’t all the built-ins also have this problem? 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Hashable custom types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Hashable custom types