forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfbf8042
committed
Re-allow INDEX_VAR as rt_index in ChangeVarNodes().
Apparently some extensions are in the habit of callingChangeVarNodes() with INDEX_VAR as the rt_index to replace.That worked before2489d76, at least as long as there werenot PlaceHolderVars in the expression; but now it failsbecause bms_is_member spits up. Add a test to avoid that.Per report from Anton Melnikov, though this is not hisproposed patch.Discussion:https://postgr.es/m/5b370a46-f6d2-373d-9dbc-0d55250e82c1@inbox.ru1 parentd98ed08 commitfbf8042
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
719 | 719 |
| |
720 | 720 |
| |
721 | 721 |
| |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
722 | 727 |
| |
723 | 728 |
| |
724 | 729 |
| |
725 | 730 |
| |
726 |
| - | |
| 731 | + | |
727 | 732 |
| |
728 | 733 |
| |
729 | 734 |
| |
|
0 commit comments
Comments
(0)