| From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Improve publication error messages |
| Date: | 2021-11-17 13:41:58 |
| Message-ID: | E1mnLCI-0006jq-Cl@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(dot)rupireddyforpostgres(at)gmail(dot)com>
Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Reviewed-by: Jeevan Ladhe <jeevan(dot)ladhe(at)enterprisedb(dot)com>
Reviewed-by: Euler Taveira <euler(at)eulerto(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2021-11-17 16:31:50 | pgsql: Fix display of SQL-standard function's arguments in INSERT/SELEC |
| Previous Message | Daniel Gustafsson | 2021-11-17 12:41:04 | pgsql: Doc: add see-also references to CREATE PUBLICATION. |