aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeFunctionscan.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-04-17 23:22:04 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-04-17 23:23:49 -0400
commite6242c18a5bb08788e6c4cc773952fc8e2a6291a (patch)
treebee146b5e683d5d83fe11a559a2e43fb6f3e1206 /src/backend/executor/nodeFunctionscan.c
parentee6922112e9b3c02b995bd1d838c9a261f060133 (diff)
downloadpostgresql-e6242c18a5bb08788e6c4cc773952fc8e2a6291a.tar.gz
postgresql-e6242c18a5bb08788e6c4cc773952fc8e2a6291a.zip
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>
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions