diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-02-22 06:03:46 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-02-22 06:04:49 -0500 |
commit | 6d06049493862f7f6b639035198fc817949723ae (patch) | |
tree | 561127ddc27913b18141b726833180db7a5f8338 /contrib/postgres_fdw/postgres_fdw.c | |
parent | abf5c5c9a4f142b3343614746bb9e99a794f8e7b (diff) | |
download | postgresql-6d06049493862f7f6b639035198fc817949723ae.tar.gz postgresql-6d06049493862f7f6b639035198fc817949723ae.zip |
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.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions