pgsql: Emit namespace in the post-copy errmsg

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Emit namespace in the post-copy errmsg
Date: 2021-08-16 18:12:00
Message-ID: E1mFh5c-0000BX-Qo@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Emit namespace in the post-copy errmsg

During a VACUUM or CLUSTER command, the initial output emits a
fully qualified relation path with namespace. The post-action
errmsg only emitted the relation name however, which may lead
to hard to parse output when using multiple jobs with vacuumdb
as the output from different jobs may be interleaved. Include
the full path in the post-action errmsg to be consistent with
the initial errmsg.

Author: Mike Fiedler <miketheman(at)gmail(dot)com>
Reviewed-by: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAMerE0oz+8G-aORZL_BJcPxnBqewZAvND4bSUysjz+r-oT1BxQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/069d33d0c5a021601245e44df77a0423ddd69359

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 3 ++-
src/backend/commands/cluster.c | 13 +++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-08-16 20:48:36 pgsql: Reduce memory consumption for pending invalidation messages.
Previous Message John Naylor 2021-08-16 15:53:07 pgsql: Use direct function calls for pg_popcount{32,64} on non-x86 plat