Re: pgsql: Add C comment about why we send cache invalidation messages for

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Add C comment about why we send cache invalidation messages for
Дата
Msg-id 201109062039.p86Kd9904721@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: Add C comment about why we send cache invalidation messages for  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add C comment about why we send cache invalidation messages for  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Add C comment about why we send cache invalidation messages for
> > session-local objects.
>
> This comment seems inaccurate and bizarrely placed.  What question
> were you trying to answer?

It was in response to my email where I asked why we are sending cache
invalidation messages for temporary tables that can't be seen by any
other backends:

    http://archives.postgresql.org/pgsql-hackers/2011-03/msg00844.php

i.e. why are we generating unnecessary invalidation traffic.  Is there a
better place for the comment?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Correct ancient logic mistake in assertion
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve comment about handling of temp tables in shared-inval co