pgsql: Report tuple address in data-corruption error message - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Report tuple address in data-corruption error message
Date
Msg-id E1mKnw7-00038Y-AK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0105b7aaa3f4c020934790311b2587fce54a9afd

Modified Files
--------------
src/backend/executor/execMain.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: psql: Fix name quoting on extended statistics
Next
From: Michael Paquier
Date:
Subject: pgsql: Refactor one use of IDENTIFY_SYSTEM in WAL streaming code of pg_