- Notifications
You must be signed in to change notification settings - Fork5
Commitf4b4a46
committed
Keep exec_simple_check_plan() from thinking "SELECT foo INTO bar" is simple.
It's not clear if this situation can occur in plpgsql other than via theEXECUTE USING case Heikki illustrated, which I will shortly close off.However, ignoring the intoClause if it's there is surely wrong, so let'spatch it for safety.Backpatch to 8.3, which is as far back as this code has a PlannedStmtto deal with. There might be another way to make an equivalent testbefore that, but since this is just preventing hypothetical bugs,I'm not going to obsess about it.1 parent3869e9a commitf4b4a46
1 file changed
+3
-1
lines changedLines changed: 3 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 |
| |
| |||
5280 | 5280 |
| |
5281 | 5281 |
| |
5282 | 5282 |
| |
| 5283 | + | |
| 5284 | + | |
5283 | 5285 |
| |
5284 | 5286 |
| |
5285 | 5287 |
| |
|
0 commit comments
Comments
(0)