Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBI1o-0007KX-H5 for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Apr 2019 11:56:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hBI1n-0003tT-6X for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Apr 2019 11:56:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBI1m-0003tM-UH for pgsql-hackers@lists.postgresql.org; Tue, 02 Apr 2019 11:56:30 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hBI1j-000453-So for pgsql-hackers@postgresql.org; Tue, 02 Apr 2019 11:56:30 +0000 Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x32Bu9bK016154; Tue, 2 Apr 2019 20:56:09 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 37FCAEA838C; Tue, 2 Apr 2019 20:56:09 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 2CC50EA81C0; Tue, 2 Apr 2019 20:56:09 +0900 (JST) Received: from [IPv6:::1] (unknown [129.60.241.75]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 26565400976; Tue, 2 Apr 2019 20:56:09 +0900 (JST) Message-ID: <5CA34DCC.40905@lab.ntt.co.jp> Date: Tue, 02 Apr 2019 20:55:56 +0900 From: Etsuro Fujita User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Subject: Re: Problems with plan estimates in postgres_fdw References: <87pnz1aby9.fsf@news-spur.riddles.org.uk> <1175.1533220908@sss.pgh.pa.us> <5BB739CD.6040002@lab.ntt.co.jp> <5BBC4140.50403@lab.ntt.co.jp> <5C17A00E.5000005@lab.ntt.co.jp> <5C232F39.9060509@lab.ntt.co.jp> <5C25C7B5.2010802@lab.ntt.co.jp> <5C518631.5080401@lab.ntt.co.jp> <10994.1549559088@localhost> <5C5D778F.3080501@lab.ntt.co.jp> <5C6D474F.5010703@lab.ntt.co.jp> <30939.1550848901@localhost> <5C73B7FB.2010309@lab.ntt.co.jp> <5C7FC458.4020400@lab.ntt.co.jp> <5C80F215.7060905@lab.ntt.co.jp> <5C92283A.40208@lab.ntt.co.jp> <5C9A1E14.20706@lab.ntt.co.jp> <5C9B3106.5090001@lab.ntt.co.jp> <5C9E1B10.1000605@lab.ntt.co.jp> In-Reply-To: <5C9E1B10.1000605@lab.ntt.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: Antonin Houska , Jeff Janes Cc: Tom Lane , Andrew Gierth , Pg Hackers , etsuro.fujita@gmail.com X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk (2019/03/29 22:18), Etsuro Fujita wrote: > Attached is a > new version. If there are no objections, I'll commit this version. Pushed after polishing the patchset a bit further: add an assertion, tweak comments, and do cleanups. Thanks for reviewing, Antonin and Jeff! Best regards, Etsuro Fujita