From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Report tuple address in data-corruption error message
Date: Mon, 30 Aug 2021 20:31:19 +0000
Message-ID: <E1mKnw7-00038S-9P@gemulon.postgresql.org> (raw)
Report tuple address in data-corruption error message
Most data-corruption reports mention the location of the problem, but
this one failed to. Add it.
Backpatch all the way back. In 12 and older, also assign the
ERRCODE_DATA_CORRUPTED error code as was done in commit fd6ec93bf890 for
13 and later.
Discussion: https://postgr.es/m/202108191637.oqyzrdtnheir@alvherre.pgsql
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/6197d7b5383e69383801a4e1c6eed7b7dbc086a3
Modified Files
--------------
src/backend/access/heap/heapam_handler.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Report tuple address in data-corruption error message
In-Reply-To: <E1mKnw7-00038S-9P@gemulon.postgresql.org>
References: <E1mKnw7-00038S-9P@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