postgres_fdw: make_tuple_from_result_row should set cur_attno for ctid.

Robert Haas <rhaas@postgresql.org>

Commit: 4a46a99d8936328ab00e54bf8a2900832c4687e7
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-03-15T20:51:56Z
Releases: 9.6.0
postgres_fdw: make_tuple_from_result_row should set cur_attno for ctid.

There's no reason for this function to do this for every other
attribute number and omit it for CTID, especially since
conversion_error_callback has code to handle that case.  This seems
to be an oversight in commit e690b9515072fd7767fdeca5c54166f6a77733bc.

Etsuro Fujita

Files

PathChange+/−
contrib/postgres_fdw/postgres_fdw.c modified +2 −2