Hash Indexes

Поиск
Список
Период
Сортировка
От Naz Gassiep
Тема Hash Indexes
Дата
Msg-id 477E5CE6.2060903@mira.net
обсуждение исходный текст
Ответы Re: Hash Indexes  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Hi there,
    I am creating functionality where there are blocks of text that are
being stored in the DB and that need to be searched for. No like or
pattern matching, just a plain old WHERE clause. Obviously, hash indexes
would be best here, however I've been warned away from PG's hash
implementation. Would it be better to manually create a column storing
the hashes (maintained with a CHECK (md5(textcol) = hashcol) type
constraint) and generate the hashes in the app?

- Naz.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Mandatory AS keyword in SELECT statements
Следующее
От: Kyle Wilcox
Дата:
Сообщение: Fail to connect after server crash