pgsql: Add additional information in the vacuum error context.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add additional information in the vacuum error context.
Date: 2020-08-26 04:22:30
Message-ID: E1kAmxC-00008j-OT@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add additional information in the vacuum error context.

The additional information added will be an offset number for heap
operations. This information will help us in finding the exact tuple due
to which the error has occurred.

Author: Mahendra Singh Thalor and Amit Kapila
Reviewed-by: Sawada Masahiko, Justin Pryzby and Amit Kapila
Discussion: https://postgr.es/m/CAKYtNApK488TDF4bMbw+1QH8HJf9cxdNDXquhU50TK5iv_FtCQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7e453634bb62f06a048f5562ba59d52aa1f28d12

Modified Files
--------------
src/backend/access/heap/pruneheap.c | 19 +++++++-
src/backend/access/heap/vacuumlazy.c | 91 ++++++++++++++++++++++++++++--------
src/include/access/heapam.h | 3 +-
3 files changed, 90 insertions(+), 23 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-08-26 11:48:49 pgsql: Add regression tests for REPLICA IDENTITY with dropped indexes
Previous Message Amit Kapila 2020-08-26 02:59:57 pgsql: Extend the BufFile interface.