pgsql: More improvements of error messages about mismatching relkind - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: More improvements of error messages about mismatching relkind
Date
Msg-id E1m65I1-0007vf-ID@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: doc: Document that only superusers can use pg_import_system_coll
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Rename NodeTag of ExprState