Thread: pgsql: Improve some publication-related error messages

pgsql: Improve some publication-related error messages

From
Alvaro Herrera
Date:
Improve some publication-related error messages

While at it, remove an unused queryString parameter from
CheckPubRelationColumnList() and make other minor stylistic changes.

Backpatch to 15.

Reported by Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Co-authored-by: Hou zj <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/20220926.160426.454497059203258582.horikyota.ntt@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4148c8b3daf95ca308f055e103f6ee82e25b8f99

Modified Files
--------------
src/backend/commands/publicationcmds.c    | 57 ++++++++++++++++++-------------
src/test/regress/expected/publication.out | 26 +++++++-------
2 files changed, 47 insertions(+), 36 deletions(-)