Re: Plan invalidation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Plan invalidation
Дата
Msg-id 11021.1175626045@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Plan invalidation  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Список pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> On 4/3/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> If the invalidation were something that *had* to be accounted for,
>> such as a dropped index, then there should be adequate locking for it;
>> plancache is not introducing any new bug that wasn't there before.
>> 
> Oh yes, I was wondering about the other parts of the code, not
> plan invalidation. Never mind, it was just a thought.

Well, as that comment notes, we've always had to worry about being sure
that the relcache data structures are up-to-date (or sufficiently
up-to-date, anyway).  I think it's reasonably well debugged.
        regards, tom lane


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

Предыдущее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: Plan invalidation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "Garbled" postgres logs