]> granicus.if.org Git - postgresql/commit
Avoid duplicate ExecTypeFromTL() call in ExecInitJunkFilter() by passing
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Oct 1999 23:13:30 +0000 (23:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Oct 1999 23:13:30 +0000 (23:13 +0000)
commit5b9d655ba7823cf52fcae1038ec48c347c39029f
treece91eb497ec248920df1ca194cb9d68afc398aeb
parent4ce4d7f7d321979c38c2d9177eac634f92da6070
Avoid duplicate ExecTypeFromTL() call in ExecInitJunkFilter() by passing
in the TupleDesc that the caller already has (for call from ExecMain) or
can make just as easily as ExecInitJunkFilter() can (for call from
ExecAppend).  Also, don't bother to build a junk filter for an INSERT
operation that doesn't actually need one, which is the normal case.
src/backend/executor/execJunk.c
src/backend/executor/execMain.c
src/backend/executor/nodeAppend.c
src/include/executor/executor.h