- Notifications
You must be signed in to change notification settings - Fork5
Commit6ef8c65
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 parent6ba4ecb commit6ef8c65
File tree
3 files changed
+42
-0
lines changed- src
- backend/optimizer/plan
- test/regress
- expected
- sql
3 files changed
+42
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
699 | 702 | | |
700 | 703 | | |
701 | 704 | | |
| |||
| 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 | | |
| |||
| 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)