pgsql: postgres_fdw: Fix cache lookup failure while creating error cont - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: postgres_fdw: Fix cache lookup failure while creating error cont
Date
Msg-id E1bJ0Pq-0002oC-5f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix crash bug in RestoreSnapshot.
Next
From: Robert Haas
Date:
Subject: Re: pgsql: Fix crash bug in RestoreSnapshot.