Commit 86437dd
committed
postgres_fdw: Fix cache lookup failure while creating error context.
This is fallout from join pushdown; get_relid_attribute_name can't
handle an attribute number of 0, indicating a whole-row reference,
and shouldn't be called in that case.
Etsuro Fujita, reviewed by Ashutosh Bapat1 parent 5f3499b commit 86437dd
File tree
3 files changed
+18
-3
lines changed- contrib/postgres_fdw
- expected
- sql
3 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2591 | 2591 | | |
2592 | 2592 | | |
2593 | 2593 | | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
2594 | 2597 | | |
2595 | 2598 | | |
2596 | 2599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4528 | 4528 | | |
4529 | 4529 | | |
4530 | 4530 | | |
| 4531 | + | |
4531 | 4532 | | |
4532 | 4533 | | |
4533 | 4534 | | |
| |||
4560 | 4561 | | |
4561 | 4562 | | |
4562 | 4563 | | |
| 4564 | + | |
| 4565 | + | |
| 4566 | + | |
| 4567 | + | |
| 4568 | + | |
| 4569 | + | |
4563 | 4570 | | |
4564 | | - | |
4565 | 4571 | | |
4566 | 4572 | | |
4567 | | - | |
4568 | | - | |
| 4573 | + | |
| 4574 | + | |
| 4575 | + | |
| 4576 | + | |
| 4577 | + | |
| 4578 | + | |
| 4579 | + | |
4569 | 4580 | | |
4570 | 4581 | | |
4571 | 4582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| 630 | + | |
630 | 631 | | |
631 | 632 | | |
632 | 633 | | |
| |||
0 commit comments