forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3d3218a
committed
Back-patch fix and test case for bug #7516.
Back-patch commits9afc648 andb8fbbcf. The first of these is reallya minor code cleanup to save a few cycles, but it turns out to providea workaround for the misoptimization problem described in bug #7516.The second commit adds a regression test case.Back-patch the fix to all active branches. The test case only worksas far back as 9.0, because it relies on plpgsql which isn't installedby default before that. (I didn't have success modifying it into anall-plperl form that still provoked a crash, though this may just reflectmy lack of Perl-fu.)1 parent0952811 commit3d3218a
File tree
3 files changed
+91
-23
lines changed- src/pl/plperl
- expected
- sql
3 files changed
+91
-23
lines changedLines changed: 42 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + |
Lines changed: 19 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1244 | 1244 |
| |
1245 | 1245 |
| |
1246 | 1246 |
| |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
1247 | 1252 |
| |
1248 | 1253 |
| |
1249 | 1254 |
| |
1250 |
| - | |
| 1255 | + | |
1251 | 1256 |
| |
1252 | 1257 |
| |
1253 | 1258 |
| |
1254 | 1259 |
| |
1255 | 1260 |
| |
1256 | 1261 |
| |
1257 | 1262 |
| |
1258 |
| - | |
1259 |
| - | |
| 1263 | + | |
| 1264 | + | |
1260 | 1265 |
| |
1261 | 1266 |
| |
1262 | 1267 |
| |
1263 | 1268 |
| |
1264 | 1269 |
| |
1265 | 1270 |
| |
1266 |
| - | |
1267 |
| - | |
| 1271 | + | |
| 1272 | + | |
1268 | 1273 |
| |
1269 | 1274 |
| |
1270 | 1275 |
| |
| |||
1284 | 1289 |
| |
1285 | 1290 |
| |
1286 | 1291 |
| |
| 1292 | + | |
1287 | 1293 |
| |
1288 | 1294 |
| |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1289 | 1298 |
| |
1290 | 1299 |
| |
1291 | 1300 |
| |
| |||
1316 | 1325 |
| |
1317 | 1326 |
| |
1318 | 1327 |
| |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1319 | 1332 |
| |
1320 | 1333 |
| |
1321 | 1334 |
| |
1322 | 1335 |
| |
1323 |
| - | |
1324 |
| - | |
1325 |
| - | |
1326 |
| - | |
| 1336 | + | |
1327 | 1337 |
| |
1328 | 1338 |
| |
1329 | 1339 |
| |
| |||
1672 | 1682 |
| |
1673 | 1683 |
| |
1674 | 1684 |
| |
1675 |
| - | |
1676 |
| - | |
1677 |
| - | |
1678 |
| - | |
1679 |
| - | |
1680 |
| - | |
1681 |
| - | |
1682 | 1685 |
| |
1683 | 1686 |
| |
1684 | 1687 |
| |
| |||
1832 | 1835 |
| |
1833 | 1836 |
| |
1834 | 1837 |
| |
1835 |
| - | |
1836 |
| - | |
1837 |
| - | |
1838 |
| - | |
1839 |
| - | |
1840 |
| - | |
1841 |
| - | |
1842 | 1838 |
| |
1843 | 1839 |
| |
1844 | 1840 |
| |
|
Lines changed: 30 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + |
0 commit comments
Comments
(0)