Re: changeset generation v5-01 - Patches & git tree

Поиск
Список
Период
Сортировка
От 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  (Andres Freund <andres@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Add session_preload_libraries configuration parameter
Следующее
От: Robins Tharakan
Дата:
Сообщение: Re: Add regression tests for DISCARD