]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Report tuple address in data-corruption error message
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 30 Aug 2021 20:29:12 +0000 (16:29 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 30 Aug 2021 20:29:12 +0000 (16:29 -0400)
commit6197d7b5383e69383801a4e1c6eed7b7dbc086a3
treeea602047b84e2039cfbc88ccc47940c5f4a22af2
parent8ba3bad4c362ef71bf6a13ecf4ae5e26066a4876
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
src/backend/access/heap/heapam_handler.c