pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix failure to mark init buffers as BM_PERMANENT.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix failure to mark init buffers as BM_PERMANENT.
@ 2017-03-14 16:13  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-03-14 16:13 UTC (permalink / raw)
  To: 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6bd7816e766abd6c10db16ed0af93a512b1a662d

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix failure to mark init buffers as BM_PERMANENT.
@ 2017-03-14 16:13  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-03-14 16:13 UTC (permalink / raw)
  To: 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_5_STABLE

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

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix failure to mark init buffers as BM_PERMANENT.
@ 2017-03-14 16:13  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-03-14 16:13 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix failure to mark init buffers as BM_PERMANENT.
@ 2017-03-14 16:13  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-03-14 16:13 UTC (permalink / raw)
  To: 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_2_STABLE

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

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix failure to mark init buffers as BM_PERMANENT.
@ 2017-03-14 16:13  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-03-14 16:13 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix failure to mark init buffers as BM_PERMANENT.
@ 2017-03-14 16:13  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-03-14 16:13 UTC (permalink / raw)
  To: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/87f99820349bbb020d1d65dd739a910c6f9c813b

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2017-03-14 16:13 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 16:13 pgsql: Fix failure to mark init buffers as BM_PERMANENT. Robert Haas <rhaas@postgresql.org>
2017-03-14 16:13 pgsql: Fix failure to mark init buffers as BM_PERMANENT. Robert Haas <rhaas@postgresql.org>
2017-03-14 16:13 pgsql: Fix failure to mark init buffers as BM_PERMANENT. Robert Haas <rhaas@postgresql.org>
2017-03-14 16:13 pgsql: Fix failure to mark init buffers as BM_PERMANENT. Robert Haas <rhaas@postgresql.org>
2017-03-14 16:13 pgsql: Fix failure to mark init buffers as BM_PERMANENT. Robert Haas <rhaas@postgresql.org>
2017-03-14 16:13 pgsql: Fix failure to mark init buffers as BM_PERMANENT. Robert Haas <rhaas@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox