| От | ocie@paracel.com |
|---|---|
| Тема | Unique index using hash? |
| Дата | |
| Msg-id | 9803170145.AA01836@dolomite.paracel.com обсуждение исходный текст |
| Ответы |
Re: [HACKERS] Unique index using hash?
|
| Список | pgsql-hackers |
I was playing around with my latest compile and tried to make a unique index on two columns, using a hash method. Both of these (more than one column and unique) are currently not allowed for hash indexes. I thought about this for a bit and realized that making a NESTED hash index (index on a and b also serves as an index on a) would be a trick, but allowing the unique clause should not be a problem. Therefore, I would like to try implementing unique constraints on hash indexes. Has this come up before? Are there any reasons not to support this? As far as I understand, specifying an index method is non standard (above and beyond standard) to begin with. Ocie Mitchell
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера