aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-08-01 14:31:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-08-01 14:31:46 -0400
commitdea1491ffb448d20764a5f2cec8ae33b64dd39f8 (patch)
treeeda14aed79882f552320715dc78f14681bc4b2d3 /src/backend/access/transam
parenta6492ff8970b06b9e27cc314c7d1aa574fcc7b04 (diff)
downloadpostgresql-dea1491ffb448d20764a5f2cec8ae33b64dd39f8.tar.gz
postgresql-dea1491ffb448d20764a5f2cec8ae33b64dd39f8.zip
Teach predtest.c that "foo" implies "foo IS NOT NULL".
Per complaint from Peter Holzer. It's useful to cover this special case, since for a boolean variable "foo", earlier parts of the planner will have reduced variants like "foo = true" to just "foo", and thus we may fail to recognize the applicability of a partial index with predicate "foo IS NOT NULL". Back-patch to 9.5, but not further; given the lack of previous complaints this doesn't seem like behavior to change in stable branches.
Diffstat (limited to 'src/backend/access/transam')
0 files changed, 0 insertions, 0 deletions