Re: 9.1 support for hashing arrays

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: 9.1 support for hashing arrays
Дата
Msg-id BANLkTimm+C5QYu5YzLQHCiuacZP8MFzueQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 9.1 support for hashing arrays  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: 9.1 support for hashing arrays
Список pgsql-hackers
On Fri, May 20, 2011 at 1:43 AM, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> Doh! I forgot one important piece of this algorithm - it is necessary
> to initialise the result to something non-zero at the start so that
> adding leading nulls to an array changes the final result.

Looks reasonable.

I believe, however, that applying this will invalidate the contents of
any hash indexes on array types that anyone has built using 9.1beta1.
Do we need to do something about that?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: timezone GUC
Следующее
От: Robert Haas
Дата:
Сообщение: Re: patch: Allow \dd to show constraint comments