postgresql/contrib/postgres_fdw
Tom Lane 6d06049493 Adjust postgres_fdw's search path handling.
Set the remote session's search path to exactly "pg_catalog" at session
start, then schema-qualify only names that aren't in that schema.  This
greatly reduces clutter in the generated SQL commands, as seen in the
regression test changes.  Per discussion.

Also, rethink use of FirstNormalObjectId as the "built-in object" cutoff
--- FirstBootstrapObjectId is safer, since the former will accept
objects in information_schema for instance.
2013-02-22 06:04:49 -05:00
..
expected Adjust postgres_fdw's search path handling. 2013-02-22 06:04:49 -05:00
sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
connection.c Adjust postgres_fdw's search path handling. 2013-02-22 06:04:49 -05:00
deparse.c Adjust postgres_fdw's search path handling. 2013-02-22 06:04:49 -05:00
Makefile Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
option.c Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00