]> granicus.if.org Git - postgresql/commit
postgres_fdw: make_tuple_from_result_row should set cur_attno for ctid.
authorRobert Haas <rhaas@postgresql.org>
Tue, 15 Mar 2016 20:51:56 +0000 (16:51 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 15 Mar 2016 20:51:56 +0000 (16:51 -0400)
commit4a46a99d8936328ab00e54bf8a2900832c4687e7
tree28ee037798f973a519bd5b1c2dc0bc694e17d0e6
parent2a90cb69e18e0c0637f3f93702e7b2f7808ff1b2
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
contrib/postgres_fdw/postgres_fdw.c