Changed ExecConstraints() and ExecRelCheck() to cache constraint
authorJan Wieck <JanWieck@Yahoo.com>
Sun, 7 Feb 1999 16:50:55 +0000 (16:50 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Sun, 7 Feb 1999 16:50:55 +0000 (16:50 +0000)
commitcff91fedffc5546f201b2537a0f01b9ad7d83c01
tree27bf0c3e3d5414a4522b1bd15948a9366079a33a
parentccf330d67e2faf253c990707f19ccee2dab0a79e
Changed ExecConstraints() and ExecRelCheck() to cache constraint
qualification trees in the execution state to avoid memory exhaustion
on INSERT, UPDATE and COPY to tables with check constraints. This
also speeds up those operations substantial because the nodeToString()
for the constraints ccbin is only performed once per query.

Jan
src/backend/commands/copy.c
src/backend/executor/execMain.c
src/include/executor/executor.h
src/include/nodes/execnodes.h