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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/86437ddf8c8da6fff49bdf08a22af3460e078eeb Modified Files -------------- contrib/postgres_fdw/expected/postgres_fdw.out | 3 +++ contrib/postgres_fdw/postgres_fdw.c | 17 ++++++++++++++--- contrib/postgres_fdw/sql/postgres_fdw.sql | 1 + 3 files changed, 18 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
