]> granicus.if.org Git - postgresql/commit
Changed ExecConstraints() and ExecRelCheck() to cache the constraints
authorJan Wieck <JanWieck@Yahoo.com>
Sun, 7 Feb 1999 16:17:14 +0000 (16:17 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Sun, 7 Feb 1999 16:17:14 +0000 (16:17 +0000)
commitef590e101ec2e7fd4d2c80b925ce2188aa000bba
treedf6c63a57a232ff236a5b0885857060f4feb5db3
parentdd4a357dc9eeeafa0e8768ab3ae4ffaa4d8c2fcf
Changed ExecConstraints() and ExecRelCheck() to cache the constraints
qualification expression trees in the execution state. Prevents from
memory exhaustion on INSERT, UPDATE or COPY to tables that have CHECK
constraints. Speedup against the variant using freeObject() is more than
factor 2.

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