pgsql: More improvements of error messages about mismatching relkind

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: More improvements of error messages about mismatching relkind
Date: 2021-07-21 06:01:05
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

More improvements of error messages about mismatching relkind

Follow-up to 2ed532ee8c474e9767e76e1f3251cc3a0224358c, a few error
messages in the logical replication area currently only deal with
tables, but if we're anticipating more relkinds such as sequences
being handled, then these messages also fall into the category
affected by the previous patch, so adjust them too.

Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://www.postgresql.org/message-id/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/81d5995b4b78017ef9e5c6f151361d1fb949924c

Modified Files
--------------
src/backend/catalog/pg_publication.c | 10 +++++-----
src/backend/executor/execReplication.c | 14 +-------------
src/test/regress/expected/publication.out | 8 ++++----
3 files changed, 10 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2021-07-21 06:56:04 pgsql: Rename NodeTag of ExprState
Previous Message Fujii Masao 2021-07-21 04:57:24 pgsql: doc: Document that only superusers can use pg_import_system_coll