- Notifications
You must be signed in to change notification settings - Fork5
Commit1f36fec
committed
Tweak distribute_qual_to_rels so that when we decide a pseudoconstant qual
can be pushed to the top of the join tree, we update both the relids andqualscope variables to keep them in sync. This prevents a possible laterfailure of an Assert clause, and affects nothing else since qualscope isn'tused later except for that Assert. At the moment the Assert shouldn't bereachable when we've pushed the qual up; but this is cheap insurance, andit's more sensible anyway in terms of the overall logic of the routine.Per analysis of a bug report from Stefan Huehner.I'm not back-patching this since it's just future-proofing; but if anyonegets tempted to change check_outerjoin_delay again in the back branches,this might be needed.1 parent421c66b commit1f36fec
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
818 | 818 |
| |
819 | 819 |
| |
820 | 820 |
| |
| 821 | + | |
821 | 822 |
| |
822 | 823 |
| |
823 | 824 |
| |
| 825 | + | |
| 826 | + | |
824 | 827 |
| |
825 | 828 |
| |
826 | 829 |
| |
|
0 commit comments
Comments
(0)