pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix description of WAL record XLOG_BTREE_META_CLEANUP
Date: Wed, 19 Jun 2019 02:03:09 +0000
Message-ID: <E1hdPwL-0006GY-Al@gemulon.postgresql.org> (raw)

Fix description of WAL record XLOG_BTREE_META_CLEANUP

This record uses one metadata buffer and registers some data associated
to the buffer, but when parsing the record for its description a direct
access to the record data was done, but there is none.  This leads
usually to an incorrect description, but can also cause crashes like in
pg_waldump.  Instead, fix things so as the parsing uses the data
associated to the metadata block.

This is an oversight from 3d92796, so backpatch down to 11.

Author: Michael Paquier
Description: https://postgr.es/m/20190617013059.GA3153@paquier.xyz
Backpatch-through: 11

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6dfc9464472ec283cf6b13ee67b42afc6346c533

Modified Files
--------------
src/backend/access/rmgrdesc/nbtdesc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1hdPwL-0006GY-Al@gemulon.postgresql.org>
Permalink:  ../E1hdPwL-0006GY-Al@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hdPwL-0006GY-Al@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Fix description of WAL record XLOG_BTREE_META_CLEANUP
  In-Reply-To: <E1hdPwL-0006GY-Al@gemulon.postgresql.org>
  References: <E1hdPwL-0006GY-Al@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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