Обсуждение: pgsql: Properly set relpersistence for fake relcache entries.

Поиск
Список
Период
Сортировка

pgsql: Properly set relpersistence for fake relcache entries.

От
Robert Haas
Дата:
Properly set relpersistence for fake relcache entries.

This can result in buffers failing to be properly flushed at
checkpoint time, leading to data loss.

Report, diagnosis, and patch by Jeff Davis.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fef2c17807e095a04441e4f1fe05f75d5578ead2

Modified Files
--------------
src/backend/access/transam/xlogutils.c |    5 +++++
src/backend/storage/buffer/bufmgr.c    |    2 ++
2 files changed, 7 insertions(+), 0 deletions(-)