[COMMITTERS] pgsql: Fix failure to mark init buffers as BM_PERMANENT. - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Fix failure to mark init buffers as BM_PERMANENT.
Date
Msg-id E1cnp4K-0006pE-54@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix failure to mark init buffers as BM_PERMANENT.

This could result in corruption of the init fork of an unlogged index
if the ambuildempty routine for that index used shared buffers to
create the init fork, which was true for gin, gist, and hash indexes.

Patch by me, based on an earlier patch by Michael Paquier, who also
reviewed this one.  This also incorporates an idea from Artur
Zakirov.

Discussion: http://postgr.es/m/CACYUyc8yccE4xfxhqxfh_Mh38j7dRFuxfaK1p6dSNAEUakxUyQ@mail.gmail.com

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 7 ++++++-
src/include/storage/buf_internals.h | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: doc: Fix synopsis
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Update .gitignore