Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUXtn-0003Nf-4J for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Mar 2014 08:48:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WUXtm-0008TA-Cj for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Mar 2014 08:48:54 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUXtj-0008Sz-Jj for pgsql-hackers@postgresql.org; Mon, 31 Mar 2014 08:48:51 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUXtf-0002Y8-PD for pgsql-hackers@postgresql.org; Mon, 31 Mar 2014 08:48:51 +0000 Received: from mfs5.rdh.ecl.ntt.co.jp (mfs5.rdh.ecl.ntt.co.jp [129.60.39.144]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id s2V8miYV025348; Mon, 31 Mar 2014 17:48:44 +0900 Received: from mfs5.rdh.ecl.ntt.co.jp (localhost.localdomain [127.0.0.1]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id B5316E0129; Mon, 31 Mar 2014 17:48:44 +0900 (JST) Received: from imail3.m.ecl.ntt.co.jp (imail3.m.ecl.ntt.co.jp [129.60.5.248]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 9FA2FE0127; Mon, 31 Mar 2014 17:48:44 +0900 (JST) Received: from [129.60.241.149] ([129.60.241.149]) by imail3.m.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id s2V8milK007759; Mon, 31 Mar 2014 17:48:44 +0900 Message-ID: <53392BDF.1090100@lab.ntt.co.jp> Date: Mon, 31 Mar 2014 17:48:31 +0900 From: Etsuro Fujita User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Kyotaro HORIGUCHI CC: shigeru.hanada@gmail.com, pgsql-hackers@postgresql.org Subject: Re: inherit support for foreign tables References: <533383BF.1050004@lab.ntt.co.jp> <20140327.170917.91664276.horiguchi.kyotaro@lab.ntt.co.jp> <5333E78D.2070909@lab.ntt.co.jp> <20140328.132812.80555588.horiguchi.kyotaro@lab.ntt.co.jp> In-Reply-To: <20140328.132812.80555588.horiguchi.kyotaro@lab.ntt.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: No X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org (2014/03/28 13:28), Kyotaro HORIGUCHI wrote: > Hmm. The assertion (not shown above but you put in > parameterize_path:) seems to say that 'base relation for foreign > paths must be a RTE_RELATION' isn't right? I think that's right. Please see allpaths.c, especially set_rel_pathlist(). For your information, the same assertion can be found in create_foreignscan_plan(). Thanks, 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