Re: CommandCounterIncrement versus plan caching

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CommandCounterIncrement versus plan caching
Дата
Msg-id 24247.1196402170@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CommandCounterIncrement versus plan caching  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> Wait, shouldn't it be sufficient to do a CCI only in the "if (!plan)" case?

No.  The problem is that if you don't do the CCI then you don't get the
invalidation events that might-or-might-not be pending in the inval
queue.  So testing for whether the plan is still valid is meaningless
unless that queue's been flushed.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Status report on 8.3 releaset
Следующее
От: Simon Riggs
Дата:
Сообщение: Release Note Changes