diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-20 00:24:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-20 00:24:30 +0000 |
commit | 31d1f2330277a91f59fe050cc85ced25ee55f95d (patch) | |
tree | 3f88cf38bfedccb16cfa18c116981aae45e8bbf3 /src/backend/nodes/copyfuncs.c | |
parent | 400e2c934457bef4bc3cc9a3e49b6289bd761bc0 (diff) | |
download | postgresql-31d1f2330277a91f59fe050cc85ced25ee55f95d.tar.gz postgresql-31d1f2330277a91f59fe050cc85ced25ee55f95d.zip |
Teach simplify_boolean_equality to simplify the forms foo <> true and
foo <> false, along with its previous duties of simplifying foo = true
and foo = false. (All of these are equivalent to just foo or NOT foo
as the case may be.) It's not clear how often this is really useful;
but it costs almost nothing to do, and it seems some people think we
should be smart about such cases. Per recent bug report.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
0 files changed, 0 insertions, 0 deletions