pgsql: Improve publication error messages - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Improve publication error messages
Date
Msg-id E1mnLCI-0006jq-Cl@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve publication error messages

Commit 81d5995b4b introduced more fine-grained errormessages for
incorrect relkinds for publication, while unlogged and temporary
tables were reported with using the same message.  This provides
separate error messages for these types of relpersistence.

Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Reviewed-by: Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>
Reviewed-by: Euler Taveira <euler@eulerto.com>
Discussion: https://postgr.es/m/CALj2ACW9S=AswyQHjtO6WMcsergMkCBTtzXGrM8DX26DzfeTLQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aa12781b0d039d93e1a851ece4bc75c3746cbd43

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out |  6 ++++++
contrib/postgres_fdw/sql/postgres_fdw.sql      |  5 +++++
src/backend/catalog/pg_publication.c           | 10 ++++++++--
src/test/regress/expected/publication.out      | 16 ++++++++++++++++
src/test/regress/sql/publication.sql           | 14 ++++++++++++++
5 files changed, 49 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Doc: add see-also references to CREATE PUBLICATION.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix display of SQL-standard function's arguments in INSERT/SELEC