Обсуждение: 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_2_STABLE

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

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