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-0007M5-P8@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
------
master

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

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: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: Fixed connection leaks.
Next
From: Robert Haas
Date:
Subject: pgsql: Properly set relpersistence for fake relcache entries.