We have to return dummy tuple for empty targetlist!
authorVadim B. Mikheev <vadim4o@yahoo.com>
Wed, 10 Mar 1999 12:16:09 +0000 (12:16 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Wed, 10 Mar 1999 12:16:09 +0000 (12:16 +0000)
commit8ce90efb9a83ea85dd42656f73119e9a58b44213
tree135366b927312c3f7b80475343e4f96b88c2c2a9
parent3dd84e1de3f07212eb870017b666cce6b5860968
We have to return dummy tuple for empty targetlist!
Try select t1.x from t1, t2 where t1.y = 1 and t2.y = 1
- t2 scan target list will be empty and so no one tuple
will be returned...
src/backend/executor/execQual.c