postgresql/src/backend/replication/logical
Peter Eisentraut e6242c18a5 Set range table for CopyFrom() in tablesync
CopyFrom() needs a range table for formatting certain errors for
constraint violations.

This changes the mechanism of how the range table is passed to the
CopyFrom() executor state.  We used to generate the range table and one
entry for the relation manually inside DoCopy().  Now we use
addRangeTableEntryForRelation() to setup the range table and relation
entry for the ParseState, which is then passed down by BeginCopyFrom().

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Reported-by: Euler Taveira <euler@timbira.com.br>
2017-04-17 23:23:49 -04:00
..
decode.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
launcher.c Ensure BackgroundWorker struct contents are well-defined. 2017-04-16 23:23:44 -04:00
logical.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
logicalfuncs.c Teach xlogreader to follow timeline switches 2017-03-22 07:05:12 +00:00
Makefile Logical replication support for initial data copy 2017-03-23 08:55:37 -04:00
message.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
origin.c Use wrappers of PG_DETOAST_DATUM_PACKED() more. 2017-03-12 19:35:34 -04:00
proto.c Fix logical replication between different encodings 2017-04-06 14:41:09 -04:00
relation.c Logical replication support for initial data copy 2017-03-23 08:55:37 -04:00
reorderbuffer.c Fix new warnings from GCC 7 2017-04-17 13:59:46 -04:00
snapbuild.c Fix new warnings from GCC 7 2017-04-17 13:59:46 -04:00
tablesync.c Set range table for CopyFrom() in tablesync 2017-04-17 23:23:49 -04:00
worker.c Report statistics in logical replication workers 2017-04-14 14:37:06 -04:00