Emit namespace in the post-copy errmsg
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Mon, 16 Aug 2021 18:06:54 +0000 (20:06 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Mon, 16 Aug 2021 18:06:54 +0000 (20:06 +0200)
commit069d33d0c5a021601245e44df77a0423ddd69359
treeb2a77010358f2baa75205053b56209a65c4f9c0e
parent4864c8e8f184a35ed1c2c51a15e9a455e9fbb398
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@gmail.com>
Reviewed-by: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/CAMerE0oz+8G-aORZL_BJcPxnBqewZAvND4bSUysjz+r-oT1BxQ@mail.gmail.com
src/backend/access/heap/vacuumlazy.c
src/backend/commands/cluster.c