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 Bapat
Showing
- contrib/postgres_fdw/expected/postgres_fdw.out 3 additions, 0 deletionscontrib/postgres_fdw/expected/postgres_fdw.out
- contrib/postgres_fdw/postgres_fdw.c 14 additions, 3 deletionscontrib/postgres_fdw/postgres_fdw.c
- contrib/postgres_fdw/sql/postgres_fdw.sql 1 addition, 0 deletionscontrib/postgres_fdw/sql/postgres_fdw.sql
Loading
Please register or sign in to comment