pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: More improvements of error messages about mismatching relkind
Date: Wed, 21 Jul 2021 06:01:05 +0000
Message-ID: <E1m65I1-0007vf-ID@gemulon.postgresql.org> (raw)

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



Message-ID: <E1m65I1-0007vf-ID@gemulon.postgresql.org>
Permalink:  ../E1m65I1-0007vf-ID@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1m65I1-0007vf-ID@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: More improvements of error messages about mismatching relkind
  In-Reply-To: <E1m65I1-0007vf-ID@gemulon.postgresql.org>
  References: <E1m65I1-0007vf-ID@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox