Re: Hash support for arrays

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Hash support for arrays
Дата
Msg-id 23126.1288471697@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Hash support for arrays  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Hash support for arrays  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> On Sat, Oct 30, 2010 at 9:21 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Thoughts? �In particular, is anyone aware of a better method
>> for combining the element hash values?

> The obvious thing to do seems like it would be to feed the individual
> values back into the regular hash function.

Hmm, you mean use hash_any on the sequence of hash values?  Interesting
idea; but hash_any doesn't look very amenable to being invoked
incrementally, and I don't think I want to construct a temp array with
enough space for the hashes of all the items in the input array ...
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Hash support for arrays
Следующее
От: Peter Eisentraut
Дата:
Сообщение: 9.1alpha2 bundled -- please verify