pgsql: Properly set relpersistence for fake relcache entries. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Properly set relpersistence for fake relcache entries.
Date
Msg-id E1TCWAc-0007M9-Q6@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Properly set relpersistence for fake relcache entries.
Next
From: Tom Lane
Date:
Subject: pgsql: Add a regression test case based on bug #7516.