forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite7a45c7
committed
Repair subselect.c's occasional assignment of the wrong vartypmod to
Vars created to fill subplan args lists. This is an ancient error, goingback at least to 7.0, but is more easily triggered in 7.4 than beforebecause we no longer compare varlevelsup when deciding whether a Paramslot can be re-used. Fixes bug reported by Klint Gore.1 parenta64846f commite7a45c7
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
121 | 126 |
| |
122 | 127 |
| |
123 | 128 |
| |
| |||
129 | 134 |
| |
130 | 135 |
| |
131 | 136 |
| |
132 |
| - | |
| 137 | + | |
| 138 | + | |
133 | 139 |
| |
134 | 140 |
| |
135 | 141 |
| |
|
0 commit comments
Comments
(0)