forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb1f7ee9
committed
Prefer actual constants to pseudo-constants in equivalence class machinery.
generate_base_implied_equalities_const() should prefer plain Consts overother em_is_const eclass members when choosing the "pivot" value thatall the other members will be equated to. This makes it more likely thatthe generated equalities will be useful in constraint-exclusion proofs.Per report from Rushabh Lathia.1 parent9619fdc commitb1f7ee9
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
611 | 611 |
| |
612 | 612 |
| |
613 | 613 |
| |
614 |
| - | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
615 | 620 |
| |
616 | 621 |
| |
617 | 622 |
| |
618 | 623 |
| |
619 | 624 |
| |
620 | 625 |
| |
621 | 626 |
| |
622 |
| - | |
| 627 | + | |
| 628 | + | |
623 | 629 |
| |
624 | 630 |
| |
625 | 631 |
| |
|
0 commit comments
Comments
(0)