More improvements of error messages about mismatching relkind
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 21 Jul 2021 05:40:05 +0000 (07:40 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 21 Jul 2021 05:52:10 +0000 (07:52 +0200)
commit81d5995b4b78017ef9e5c6f151361d1fb949924c
treef0c558de57c1c99fc91de212b9cceb2de627b1fc
parent90b6c339b2b37ee320ff6125ef8c8ad0073aa31b
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
src/backend/catalog/pg_publication.c
src/backend/executor/execReplication.c
src/test/regress/expected/publication.out