Thread: pgsql: More improvements of error messages about mismatching relkind

pgsql: More improvements of error messages about mismatching relkind

From
Peter Eisentraut
Date:
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@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/c9ba5c6a-4bd5-e12c-1b3c-edbcaedbf392@enterprisedb.com

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(-)