pgsql: Remove heapam.h include made superfluous by b60c3975990.

2019-01-12 Thread Andres Freund
Remove heapam.h include made superfluous by b60c3975990.

Noticed this while working on another patch.

Author: Andres Freund

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/1845ca2cfd1f7fd6b536900cf129f6734a4ddded

Modified Files
--
src/backend/optimizer/prep/prepunion.c | 1 -
1 file changed, 1 deletion(-)



pgsql: Improve error messages for incorrect types of logical replicatio

2019-01-12 Thread Michael Paquier
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/[email protected]

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