postgresql/contrib/postgres_fdw
Tom Lane ed3ddf918b Introduce less-bogus handling of collations in contrib/postgres_fdw.
Treat expressions as being remotely executable only if all collations used
in them are determined by Vars of the foreign table.  This means that, if
the foreign server gets different answers than we do, it's the user's fault
for not having marked the foreign table columns with collations equivalent
to the remote table's.  This rule allows most simple expressions such as
"var < 'constant'" to be sent to the remote side, because the constant
isn't determining the collation (the Var's collation would win).  There's
still room for improvement, but it's hard to see how to do it without a
lot more knowledge and/or assumptions about what the remote side will do.
2013-03-13 19:46:31 -04:00
..
expected Introduce less-bogus handling of collations in contrib/postgres_fdw. 2013-03-13 19:46:31 -04:00
sql Introduce less-bogus handling of collations in contrib/postgres_fdw. 2013-03-13 19:46:31 -04:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
connection.c Fix postgres_fdw's issues with inconsistent interpretation of data values. 2013-03-11 21:31:28 -04:00
deparse.c Introduce less-bogus handling of collations in contrib/postgres_fdw. 2013-03-13 19:46:31 -04:00
Makefile Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
option.c Rename postgres_fdw's use_remote_explain option to use_remote_estimate. 2013-02-23 12:20:48 -05:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c Fix contrib/postgres_fdw's handling of column defaults. 2013-03-12 18:58:13 -04:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h Fix contrib/postgres_fdw's handling of column defaults. 2013-03-12 18:58:13 -04:00