pgsql: Improve some publication-related error messages

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve some publication-related error messages
Date: 2022-09-27 12:12:26
Message-ID: E1od9Rq-002F4l-2Z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)ntt(at)gmail(dot)com>
Co-authored-by: Hou zj <houzj(dot)fnst(at)fujitsu(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-09-27 13:46:37 Re: pgsql: Improve some publication-related error messages
Previous Message Alvaro Herrera 2022-09-27 08:46:46 pgsql: Fix pg_stat_statements for MERGE