Re: Generic hash function?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Generic hash function?
Дата
Msg-id
24247.1165181600@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Generic hash function? Brian Hurt <bhurt@janestcapital.com>
Re: Generic hash function? Tom Lane <tgl@sss.pgh.pa.us>
Re: Generic hash function? Brian Hurt <bhurt@janestcapital.com>
Re: Generic hash function? Tom Lane <tgl@sss.pgh.pa.us>
Brian Hurt  writes:
> I'm trying to write a generic equals operator that works on type 
> anyelement,

What for?  You'd ultimately have to depend on the various actual input
types' native equality operators, so I don't see what this'd buy except
a layer of useless-seeming overhead.  Also, it could only be hashable
if the input type's equality is hashable, and we don't have any way to
deal with a "sometimes hashable" equality operator.

			regards, tom lane
В списке pgsql-novice по дате отправления
От: Greg Quinn
Дата:
Сообщение: Which is faster for a select?
От: Brian Hurt
Дата:
Сообщение: Re: Generic hash function?
FAQ