]> granicus.if.org Git - postgresql/commit
Put back code in nodeAgg to generate a dummy all-nulls input tuple
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Oct 1999 01:18:16 +0000 (01:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Oct 1999 01:18:16 +0000 (01:18 +0000)
commitb021e9a1300cef6ca89b5f580f11292d5899085f
treebdcad57fe713446336811b2a91ee0ee7c68b58f4
parent60f3e6b3a5332fe45fc52420c4fe7a70ad137182
Put back code in nodeAgg to generate a dummy all-nulls input tuple
before calling execProject, when the outerPlan has returned zero tuples.
I took this out under the mistaken impression that the input tuple
couldn't be referenced by execProject if we weren't in GROUP BY mode.
But it can, if we're in an UPDATE or DELETE...
src/backend/executor/nodeAgg.c