pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Oddity in handling of cached plans for FDW queries
Date: Fri, 15 Jul 2016 17:25:09 -0400
Message-ID: <8993.1468617909@sss.pgh.pa.us> (raw)
In-Reply-To: <23274.1468589754@sss.pgh.pa.us>
References: <d49c1e5b-f059-20f4-c132-e9752ee0113e@lab.ntt.co.jp>
	<CAFjFpRf94+DJOr8pOLUQYgmmOxjonGPhrU4uvo_00BKCZ-fGug@mail.gmail.com>
	<bbd3d81d-1596-b7a6-833d-ddfc6754c82f@lab.ntt.co.jp>
	<CAFjFpRd9rx1kc-Dvm6ogeNKF8C6XxFA-QAH89T08pFHTKCOaFw@mail.gmail.com>
	<6085.1468513930@sss.pgh.pa.us>
	<10736.1468522173@sss.pgh.pa.us>
	<122d7752-7fe4-f561-4348-34b398d46ec1@lab.ntt.co.jp>
	<2270.1468550932@sss.pgh.pa.us>
	<28ab7288-84f5-aab4-3ef7-cf1ca6e9a291@lab.ntt.co.jp>
	<23274.1468589754@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

I wrote:
> Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp> writes:
>> Here is a patch for that redesign proposed by you; reverts commits  
>> fbe5a3fb73102c2cfec11aaaa4a67943f4474383 and  
>> 5d4171d1c70edfe3e9be1de9e66603af28e3afe1, adds changes for that redesign  
>> to the core, and adjusts the postgres_fdw code to that changes.  Also, I  
>> rearranged the postgres_fdw regression tests to match that changes.

> OK, I'll review this later today.

Pushed, after fooling around with it some more so that it would cover the
case we discussed where the join could be allowed if we restrict the plan
to be executed by the owner of a view used in the query.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (19+ messages)  latest in thread

Message-ID: <8993.1468617909@sss.pgh.pa.us>
Permalink:  ../8993.1468617909@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8993.1468617909@sss.pgh.pa.us

 · 

reply

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, fujita.etsuro@lab.ntt.co.jp, ashutosh.bapat@enterprisedb.com
  Subject: Re: Oddity in handling of cached plans for FDW queries
  In-Reply-To: <8993.1468617909@sss.pgh.pa.us>
  References: <d49c1e5b-f059-20f4-c132-e9752ee0113e@lab.ntt.co.jp> <CAFjFpRf94+DJOr8pOLUQYgmmOxjonGPhrU4uvo_00BKCZ-fGug@mail.gmail.com> <bbd3d81d-1596-b7a6-833d-ddfc6754c82f@lab.ntt.co.jp> <CAFjFpRd9rx1kc-Dvm6ogeNKF8C6XxFA-QAH89T08pFHTKCOaFw@mail.gmail.com> <6085.1468513930@sss.pgh.pa.us> <10736.1468522173@sss.pgh.pa.us> <122d7752-7fe4-f561-4348-34b398d46ec1@lab.ntt.co.jp> <2270.1468550932@sss.pgh.pa.us> <28ab7288-84f5-aab4-3ef7-cf1ca6e9a291@lab.ntt.co.jp> <23274.1468589754@sss.pgh.pa.us> <8993.1468617909@sss.pgh.pa.us>

* 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