pgsql: Report tuple address in data-corruption error message

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Report tuple address in data-corruption error message
Дата
Msg-id E1mKnw7-00038d-B8@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/37e4682520db478d401f423a093bf00fdb8a767c

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: psql: Fix name quoting on extended statistics
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Refactor one use of IDENTIFY_SYSTEM in WAL streaming code of pg_