git.postgresql.org Git - postgresql.git/commit
2007年10月13日 00:58:03 +0000 (00:58 +0000)
2007年10月13日 00:58:03 +0000 (00:58 +0000)
commit 106264ca3f82821f65db6991ddea76ee35406873
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.
This is the main PostgreSQL git repository.
RSS
Atom