Re: postgres_fdw changes schema search path - Mailing list pgsql-general

From Tom Lane
Subject Re: postgres_fdw changes schema search path
Date
Msg-id 12435.1372081158@sss.pgh.pa.us
Whole thread Raw
In response to postgres_fdw changes schema search path  (Tatsuo Ishii <ishii@postgresql.org>)
List pgsql-general
Tatsuo Ishii <ishii@postgresql.org> writes:
> I'm just wondering why postgres_fdw explicitly sets search_path to
> pg_catalog. If it does not do that, is there any security risk?

There was a long discussion of that back in February or so, when the
patch was (about to be) committed.  In general, if this is causing you
problems, it probably means you're doing something that's not very safe
anyway.

            regards, tom lane


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_largeobject.sql script not run after upgrade
Next
From: Dan Kogan
Date:
Subject: Re: Standby stopped working after PANIC: WAL contains references to invalid pages