diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-08-30 16:29:12 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-08-30 16:29:12 -0400 |
commit | 961dd7565726a507d4551f7ea54ad888fc6ee93a (patch) | |
tree | e80cd6fcdd576e2ce0861586bfa222403c8a823e /src/backend/utils/adt/enum.c | |
parent | a397109114c8569e21ed3c858a16143de28a1897 (diff) | |
download | postgresql-961dd7565726a507d4551f7ea54ad888fc6ee93a.tar.gz postgresql-961dd7565726a507d4551f7ea54ad888fc6ee93a.zip |
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
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions