Re: display offset along with block number in vacuum errors

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: Mahendra Singh Thalor <mahi6run@gmail.com>
Cc: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>, Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-08-26T06:07:30Z
Lists: pgsql-hackers
On Wed, Aug 26, 2020 at 8:54 AM Mahendra Singh Thalor
<mahi6run@gmail.com> wrote:
>
> On Thu, 20 Aug 2020 at 17:42, Amit Kapila <amit.kapila16@gmail.com> wrote:
> >
> > Attached are both the patches. The first one is to improve existing
> > error context information, so I think we should back-patch to 13. The
> > second one is to add additional vacuum error context information, so
> > that is for only HEAD. Does that make sense? Also, let me know if you
> > have any more comments.
>
> Thanks Amit for updating the patch. All changes in v7-02 look fine to me.
>

Okay, pushed v7-02 as well. I have marked the entry for this in CF as committed.

-- 
With Regards,
Amit Kapila.



Commits

  1. Add additional information in the vacuum error context.

  2. Improve the vacuum error context phase information.

  3. Introduce vacuum errcontext to display additional information.