OSDN Git Service

Fix nodeAgg coredump in case where lower-level plan has
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Sep 1999 02:03:19 +0000 (02:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Sep 1999 02:03:19 +0000 (02:03 +0000)
commita55888ec9c60a96e9e9c9a6862028a2c599454ac
treef7ad8724232c04ea1d9c5bae2a78deffe17a18b4
parent04f150e607b47c78c3e2f4efa295f69ba55cafd0
Fix nodeAgg coredump in case where lower-level plan has
an empty targetlist *and* fails to return any tuples, as will happen
for example with 'SELECT COUNT(1) FROM table WHERE ...' if the where-
clause selects no tuples.  It's so nice to make a fix by diking out code,
instead of adding more...
src/backend/executor/nodeAgg.c