pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve the vacuum error context phase information.
Date: Mon, 24 Aug 2020 03:06:54 +0000
Message-ID: <E1kA2ow-00071v-Un@gemulon.postgresql.org> (raw)

Improve the vacuum error context phase information.

We were displaying the wrong phase information for 'info' message in the
index clean up phase because we were switching to the previous phase a bit
early. We were also not displaying context information for heap phase
unless the block number is valid which is fine for error cases but for
messages at 'info' or lower error level it appears to be inconsistent with
index phase information.

Reported-by: Sawada Masahiko
Author: Sawada Masahiko
Reviewed-by: Amit Kapila
Backpatch-through: 13, where it was introduced
Discussion: https://postgr.es/m/CA+fd4k4HcbhPnCs7paRTw1K-AHin8y4xKomB9Ru0ATw0UeTy2w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a3c66de6c5e1ee9dd41ce1454496568622fb7712

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 52 ++++++++++++++++++++++--------------
1 file changed, 32 insertions(+), 20 deletions(-)



view thread (2+ messages)

Message-ID: <E1kA2ow-00071v-Un@gemulon.postgresql.org>
Permalink:  ../E1kA2ow-00071v-Un@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kA2ow-00071v-Un@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Improve the vacuum error context phase information.
  In-Reply-To: <E1kA2ow-00071v-Un@gemulon.postgresql.org>
  References: <E1kA2ow-00071v-Un@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox