postgresql/contrib/postgres_fdw
Robert Haas da7d44b627 postgres_fdw: Clean up handling of system columns.
Previously, querying the xmin column of a single postgres_fdw foreign
table fetched the tuple length, xmax the typmod, and cmin or cmax the
composite type OID of the tuple.  However, when you queried several
such tables and the join got shipped to the remote side, these columns
ended up containing the remote values of the corresponding columns.
Both behaviors are rather unprincipled, the former for obvious reasons
and the latter because the remote values of these columns don't have
any local significance; our transaction IDs are in a different space
than those of the remote machine.  Clean this up by setting all of
these fields to 0 in both cases.  Also fix the handling of tableoid
to be sane.

Robert Haas and Ashutosh Bapat, reviewed by Etsuro Fujita.
2016-04-15 12:08:14 -04:00
..
expected postgres_fdw: Clean up handling of system columns. 2016-04-15 12:08:14 -04:00
sql Don't require a user mapping for FDWs to work. 2016-03-28 21:50:28 -04:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
Makefile Allow postgres_fdw to ship extension funcs/operators for remote execution. 2015-11-03 18:42:18 -05:00
connection.c Use %u not %d to print OIDs. 2016-02-08 11:06:23 -05:00
deparse.c postgres_fdw: Clean up handling of system columns. 2016-04-15 12:08:14 -04:00
option.c postgres_fdw: Allow fetch_size to be set per-table or per-server. 2016-02-03 09:07:35 -05:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c postgres_fdw: Clean up handling of system columns. 2016-04-15 12:08:14 -04:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h Directly modify foreign tables. 2016-03-18 13:55:52 -04:00
shippable.c Update copyright for 2016 2016-01-02 13:33:40 -05:00