postgresql/src
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
..
backend Set range table for CopyFrom() in tablesync 2017-04-17 23:23:49 -04:00
bin Rename columns in new pg_statistic_ext catalog 2017-04-17 18:34:29 -03:00
common Fix new warnings from GCC 7 2017-04-17 13:59:46 -04:00
fe_utils Allow psql variable substitution to occur in backtick command strings. 2017-04-01 21:44:54 -04:00
include Rename columns in new pg_statistic_ext catalog 2017-04-17 18:34:29 -03:00
interfaces Remove trailing spaces in some output 2017-04-13 23:15:52 -04:00
makefiles Try to fix non-MSVC Windows builds in the wake of logical replication. 2017-01-20 12:51:31 -05:00
pl Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
port Downcase "Wincrypt.h" 2017-04-15 09:47:36 -04:00
template Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
test Rename columns in new pg_statistic_ext catalog 2017-04-17 18:34:29 -03:00
timezone Fix new warnings from GCC 7 2017-04-17 13:59:46 -04:00
tools docs: update major release instructions 2017-04-13 10:19:12 -04:00
tutorial Recommend wrappers of PG_DETOAST_DATUM_PACKED(). 2017-03-12 19:35:33 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove redundant coverage target 2017-02-17 08:56:57 -05:00
Makefile.global.in Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
Makefile.shlib Remove support for bcc and msvc standalone libpq builds 2017-04-11 15:22:21 +02:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00