pgsql: Modify message when partitioned table is added to publication

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modify message when partitioned table is added to publication
Date: 2017-04-20 18:21:32
Message-ID: E1d1Ghw-0007de-KU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Modify message when partitioned table is added to publication

Give a more specific error message than "xyz is not a table".

Also document in CREATE PUBLICATION which kinds of relations are not
supported.

based on patch by Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/594b526bcf32e307b963ea77f10c9720d9ca423f

Modified Files
--------------
doc/src/sgml/ref/create_publication.sgml | 8 ++++++++
src/backend/catalog/pg_publication.c | 9 +++++++++
src/test/regress/expected/publication.out | 7 +++++++
src/test/regress/sql/publication.sql | 4 ++++
4 files changed, 28 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-04-20 18:42:05 pgsql: Sync pg_ctl documentation and usage message with reality.
Previous Message Fujii Masao 2017-04-20 15:57:53 pgsql: Prevent log_replication_commands from causing SQL commands to be