pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: amcheck: Fixes for right page check during unique constraint che
Date: Sun, 26 May 2024 04:14:27 +0000
Message-ID: <E1sB5H9-001nfm-K7@gemulon.postgresql.org> (raw)

amcheck: Fixes for right page check during unique constraint check

 * Don't forget to pfree() the right page when it's to be ignored.
 * Report error on unexpected non-leaf right page even if this page is not
   to be ignored.  This restores the logic which was unintendedly changed
   in 97e5b0026f.

Reported-by: Pavel Borisov

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/945ec4c4bca1e1c4347cd3f93135e96770ac1b4c

Modified Files
--------------
contrib/amcheck/verify_nbtree.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)



Message-ID: <E1sB5H9-001nfm-K7@gemulon.postgresql.org>
Permalink:  ../E1sB5H9-001nfm-K7@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sB5H9-001nfm-K7@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: amcheck: Fixes for right page check during unique constraint che
  In-Reply-To: <E1sB5H9-001nfm-K7@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