pgsql: Fix vac_update_relstats to ensure it always sends a relcache

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix vac_update_relstats to ensure it always sends a relcache
Дата
Msg-id 20070308170343.68A749FBCA3@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix vac_update_relstats to ensure it always sends a relcache inval message,
even if none of the fields in the pg_class row change.  This behavior is
necessary to ensure other backends flush rd_targblock values that might
point to truncated-away pages.  We got this right pre-8.2 but it was broken
by overoptimistic change to not write out the pg_class row if unchanged.
Per report from Pavan Deolasee.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        vacuum.c (r1.342 -> r1.342.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuum.c.diff?r1=1.342&r2=1.342.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix vac_update_relstats to ensure it always sends a relcache
Следующее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Remove unsafe calling of WSAStartup and WSACleanup from DllMain.