diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-04-07 17:05:47 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-04-07 17:05:47 +0000 |
commit | 23c6f11b09adc48e1f788fb334e7786dc99913dc (patch) | |
tree | 8e5edaa1a449704a7522f067e3592146a2f19052 /src/tutorial/funcs.c | |
parent | 69ab90c7753c08bd192f70c24fab178c7261b829 (diff) | |
download | postgresql-23c6f11b09adc48e1f788fb334e7786dc99913dc.tar.gz postgresql-23c6f11b09adc48e1f788fb334e7786dc99913dc.zip |
Fix make_restrictinfo_from_bitmapqual() to preserve AND/OR flatness of its
output, ie, no OR immediately below an OR. Otherwise we get Asserts or
wrong answers for cases such as
select * from tenk1 a, tenk1 b
where (a.ten = b.ten and (a.unique1 = 100 or a.unique1 = 101))
or (a.hundred = b.hundred and a.unique1 = 42);
Per report from Rafael Martinez Guerrero.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions