forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc4bee09
committed
Process withCheckOption exprs in setrefs.c
While withCheckOption exprs had been handled in many cases byhappenstance, they need to be handled during set_plan_references andmore specifically down in set_plan_refs for ModifyTable plan nodes.This is to ensure that the opfuncid's are set for operators referencedin the withCheckOption exprs.Identified as an issue by Thom BrownPatch by Dean RasheedBack-patch to 9.4, where withCheckOption was introduced.1 parente3e065d commitc4bee09
File tree
3 files changed
+42
-0
lines changed- src
- backend/optimizer/plan
- test/regress
- expected
- sql
3 files changed
+42
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
693 | 693 |
| |
694 | 694 |
| |
695 | 695 |
| |
| 696 | + | |
| 697 | + | |
| 698 | + | |
696 | 699 |
| |
697 | 700 |
| |
698 | 701 |
| |
|
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1567 | 1567 |
| |
1568 | 1568 |
| |
1569 | 1569 |
| |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
1570 | 1590 |
| |
1571 | 1591 |
| |
1572 | 1592 |
| |
|
Lines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
707 | 707 |
| |
708 | 708 |
| |
709 | 709 |
| |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
710 | 729 |
| |
711 | 730 |
| |
712 | 731 |
| |
|
0 commit comments
Comments
(0)