pgsql: Improve error messages for incorrect types of logical replicatio

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve error messages for incorrect types of logical replicatio
Date: 2019-01-13 07:45:05
Message-ID: E1giaS9-0000hE-44@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve error messages for incorrect types of logical replication targets

If trying to use something else than a plain table as logical
replication target, a rather-generic error message gets used to report
the problem. This can be confusing when it comes to foreign tables and
partitioned tables, so use more dedicated messages in these cases.

Author: Amit Langote
Reviewed-by: Peter Eisentraut, Magnus Hagander, Michael Paquier
Discussion: https://postgr.es/m/41799bee-40eb-7bb5-80b1-325ce17518bc@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/373bda61d2d620e704815553978726c9be9e1209

Modified Files
--------------
src/backend/executor/execReplication.c | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-01-13 09:10:54 pgsql: Change default of recovery_target_timeline to 'latest'
Previous Message Andres Freund 2019-01-13 06:28:08 pgsql: Remove heapam.h include made superfluous by b60c3975990.