| От | Tom Lane |
|---|---|
| Тема | Re: changeset generation v5-01 - Patches & git tree |
| Дата | |
| Msg-id | 21269.1373226197@sss.pgh.pa.us обсуждение |
| Ответ на | Re: changeset generation v5-01 - Patches & git tree (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: changeset generation v5-01 - Patches & git tree
|
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes:
> 3b) Add catcache 'filter' that ensures the cache stays unique and use
> that for the mapping
> I slightly prefer 3b) because it's smaller, what's your opinions?
This is just another variation on the theme of kluging the catcache to
do something it shouldn't. You're still building a catcache on a
non-unique index, and that is going to lead to trouble.
(I'm a bit surprised that there is no Assert in catcache.c checking
that the index nominated to support a catcache is unique ...)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера