summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Lane2007-10-13 00:58:03 +0000
committerTom Lane2007-10-13 00:58:03 +0000
commit106264ca3f82821f65db6991ddea76ee35406873 (patch)
tree649ed01d8ebbb0850f7bb1095f3369d9643ed7fd /doc
parent5c8eb929e69bba417b8e0b20c5016ad8129a073f (diff)
Teach planagg.c that partial indexes specifying WHERE foo IS NOT NULL can be
used to perform MIN(foo) or MAX(foo), since we want to discard null rows in the indexscan anyway. (This would probably fall out for free if we were injecting the IS NOT NULL clause somewhere earlier, but given the current anatomy of the MIN/MAX optimization code we have to do it explicitly. Fortunately, very little added code is needed.) Per a discussion with Henk de Wit.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions