git.postgresql.org Git - postgresql.git/commit
Tue, 5 Jun 2001 17:13:52 +0000 (17:13 +0000)
Tue, 5 Jun 2001 17:13:52 +0000 (17:13 +0000)
commit cdd230d62899455cc07ba1caf68387fb834d5bd2
Improve planning of OR indexscan plans: for quals like
WHERE (a = 1 or a = 2) and b = 42
and an index on (a,b), include the clause b = 42 in the indexquals
generated for each arm of the OR clause. Essentially this is an index-
driven conversion from CNF to DNF. Implementation is a bit klugy, but
better than not exploiting the extra quals at all ...
This is the main PostgreSQL git repository.
RSS
Atom