forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdd6edd5
committed
Fix plpgsql's exec_move_row() to supply valid type OIDs to exec_assign_value()
whenever possible, as per bug report from Oleg Serov. While at it, reorderthe operations in the RECORD case to avoid possible palloc failure while thevariable update is only partly complete.Back-patch as far as 8.1. Although the code of the particular function issimilar in 8.0, 8.0's support for composite fields in rows is sufficientlybroken elsewhere that it doesn't seem worth fixing this.1 parent76c39cf commitdd6edd5
1 file changed
+28
-19
lines changedLines changed: 28 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
4513 | 4513 |
| |
4514 | 4514 |
| |
4515 | 4515 |
| |
4516 |
| - | |
| 4516 | + | |
4517 | 4517 |
| |
4518 | 4518 |
| |
4519 | 4519 |
| |
| 4520 | + | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
| 4524 | + | |
| 4525 | + | |
| 4526 | + | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
4520 | 4533 |
| |
4521 | 4534 |
| |
4522 | 4535 |
| |
| 4536 | + | |
4523 | 4537 |
| |
4524 | 4538 |
| |
4525 | 4539 |
| |
| |||
4531 | 4545 |
| |
4532 | 4546 |
| |
4533 | 4547 |
| |
| 4548 | + | |
4534 | 4549 |
| |
4535 | 4550 |
| |
4536 | 4551 |
| |
4537 | 4552 |
| |
4538 | 4553 |
| |
4539 |
| - | |
4540 |
| - | |
4541 |
| - | |
4542 |
| - | |
4543 |
| - | |
4544 |
| - | |
4545 |
| - | |
4546 |
| - | |
4547 |
| - | |
4548 |
| - | |
4549 |
| - | |
4550 |
| - | |
4551 |
| - | |
4552 | 4554 |
| |
4553 | 4555 |
| |
4554 | 4556 |
| |
| |||
4568 | 4570 |
| |
4569 | 4571 |
| |
4570 | 4572 |
| |
4571 |
| - | |
| 4573 | + | |
4572 | 4574 |
| |
4573 | 4575 |
| |
4574 | 4576 |
| |
| |||
4580 | 4582 |
| |
4581 | 4583 |
| |
4582 | 4584 |
| |
| 4585 | + | |
4583 | 4586 |
| |
4584 | 4587 |
| |
4585 | 4588 |
| |
| |||
4602 | 4605 |
| |
4603 | 4606 |
| |
4604 | 4607 |
| |
4605 |
| - | |
| 4608 | + | |
4606 | 4609 |
| |
4607 | 4610 |
| |
4608 |
| - | |
| 4611 | + | |
4609 | 4612 |
| |
4610 |
| - | |
| 4613 | + | |
| 4614 | + | |
| 4615 | + | |
| 4616 | + | |
| 4617 | + | |
| 4618 | + | |
| 4619 | + | |
4611 | 4620 |
| |
4612 | 4621 |
| |
4613 | 4622 |
| |
|
0 commit comments
Comments
(0)