diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-08-01 14:31:46 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-08-01 14:31:59 -0400 |
commit | 8dccf030e884ea8c723275a070acf8a8ed1eebe1 (patch) | |
tree | 80ec64b4a380655ddcac88629966d0ab0190a94f /src/backend/access/transam/xlog.c | |
parent | edf26ed033f18bddc9bfe5c239388330150766a1 (diff) |
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/xlog.c')
0 files changed, 0 insertions, 0 deletions