[COMMITTERS] pgsql: Fix failure to mark init buffers as BM_PERMANENT.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема [COMMITTERS] pgsql: Fix failure to mark init buffers as BM_PERMANENT.
Дата
Msg-id E1cnp4K-0006pA-4p@gemulon.postgresql.org
обсуждение исходный текст
Список 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 brin, 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_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/36fcb36b8b1858a588912a02f0ca9489b99ca423

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: doc: Fix synopsis
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Update .gitignore