From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Only try to push down foreign joins if the user mapping OIDs mat
Date: Mon, 14 Mar 2016 12:30:39 +0900
Message-ID: <56E6305F.3070704@lab.ntt.co.jp> (raw)
In-Reply-To: <18299.1457923919@sss.pgh.pa.us>
References: <E1aOrwD-0004Af-Rm@gemulon.postgresql.org>
<20160312031502.lqtbqnqor4vji62k@alap3.anarazel.de>
<CA+TgmoZqPKh-dx2HFGLc76RNV1mUBwj7O5imtSLkuw8xj8_8Lw@mail.gmail.com>
<20160312194625.txlzu22xykgpu66n@alap3.anarazel.de>
<56E6240E.5090301@lab.ntt.co.jp>
<18299.1457923919@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 2016/03/14 11:51, Tom Lane wrote:
> Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp> writes:
>> On 2016/03/13 4:46, Andres Freund wrote:
>>> ... The difference apears to be the
>>> check that's now in build_simple_rel() - there was nothing hitting the
>>> user mapping code before for file_fdw.
>> Exactly.
>> I'm not sure it's worth complicating the code to keep that behavior, so
>> I'd vote for adding the change notice to 9.6 release notes or something
>> like that in addition to updating file-fdw.sgml.
> Perhaps it would be useful for an FDW to be able to specify that user
> mappings are meaningless to it? And then bypass this check for such FDWs?
>
> I'm not really sold on enforcing that people create meaningless user
> mappings. For one thing, they're likely to be sloppy about it, which
> could lead to latent security problems if the FDW later acquires a
> concept that user mappings mean something.
Seems reasonable.
Best regards,
Etsuro Fujita
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: fujita.etsuro@lab.ntt.co.jp, tgl@sss.pgh.pa.us, andres@anarazel.de, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Only try to push down foreign joins if the user mapping OIDs mat
In-Reply-To: <56E6305F.3070704@lab.ntt.co.jp>
References: <E1aOrwD-0004Af-Rm@gemulon.postgresql.org> <20160312031502.lqtbqnqor4vji62k@alap3.anarazel.de> <CA+TgmoZqPKh-dx2HFGLc76RNV1mUBwj7O5imtSLkuw8xj8_8Lw@mail.gmail.com> <20160312194625.txlzu22xykgpu66n@alap3.anarazel.de> <56E6240E.5090301@lab.ntt.co.jp> <18299.1457923919@sss.pgh.pa.us> <56E6305F.3070704@lab.ntt.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox