forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit344a225
committed
Fix breakage in AlterFunction().
An ALTER FUNCTION command that tried to update both the function'sproparallel property and its proconfig list failed to do the former,because it stored the new proparallel value into a tuple that wasno longer the interesting one. Carelessness in7aea8e4.(I did not bother with a regression test, because the only likelyfuture breakage would be for someone to ignore the comment I addedand add some other field update after the heap_modify_tuple step.A test using existing function properties could not catch that.)Per report from Bryn Llewellyn. Back-patch to all supported branches.Discussion:https://postgr.es/m/8AC9A37F-99BD-446F-A2F7-B89AD0022774@yugabyte.com1 parent83cca40 commit344a225
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1472 | 1472 |
| |
1473 | 1473 |
| |
1474 | 1474 |
| |
| 1475 | + | |
| 1476 | + | |
1475 | 1477 |
| |
1476 | 1478 |
| |
1477 | 1479 |
| |
| |||
1506 | 1508 |
| |
1507 | 1509 |
| |
1508 | 1510 |
| |
1509 |
| - | |
1510 |
| - | |
| 1511 | + | |
1511 | 1512 |
| |
1512 | 1513 |
| |
1513 | 1514 |
| |
|
0 commit comments
Comments
(0)