Re: postgres_fdw changes schema search path

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres_fdw changes schema search path
Date: 2013-06-24 13:39:18
Message-ID: 12435.1372081158@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tatsuo Ishii <ishii(at)postgresql(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dan Kogan 2013-06-24 13:44:09 Re: Standby stopped working after PANIC: WAL contains references to invalid pages
Previous Message Bruce Momjian 2013-06-24 13:00:17 Re: pg_largeobject.sql script not run after upgrade