diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-20 19:22:02 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-20 19:22:02 -0500 |
commit | c080b223a7a3991524a5287416a0ad756c15a098 (patch) | |
tree | 7c7334a3451239834699ada80dee0943a22576f8 /src/backend/executor/nodeModifyTable.c | |
parent | 7d41a2bd3eef4de64ae8f6f683457f12f9407c5d (diff) | |
download | postgresql-c080b223a7a3991524a5287416a0ad756c15a098.tar.gz postgresql-c080b223a7a3991524a5287416a0ad756c15a098.zip |
Fix minor oversights in nodeAgg.c.
aggstate->evalproj is always set up by ExecInitAgg, so there's no
need to test. Doing so led Coverity to think that we might be
intending "slot" to be possibly NULL here, and it quite properly
complained that the rest of combine_aggregates() wasn't prepared
for that.
Also fix a couple of obvious thinkos in Asserts checking that
"inputoff" isn't past the end of the slot.
Errors introduced in commit 8ed3f11bb, so no need for back-patch.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions