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 1gYsmF-0001Ca-FO for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Dec 2018 13:17:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gYsmE-0007wy-7O for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Dec 2018 13:17:42 +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 1gYsmE-0007wq-0F for pgsql-hackers@lists.postgresql.org; Mon, 17 Dec 2018 13:17:42 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gYsm7-0005X7-Il for pgsql-hackers@postgresql.org; Mon, 17 Dec 2018 13:17:41 +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 wBHDHYCV029745; Mon, 17 Dec 2018 22:17:34 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 7CDE5EA81B8; Mon, 17 Dec 2018 22:17:34 +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 72666EA7FDF; Mon, 17 Dec 2018 22:17:34 +0900 (JST) Received: from [IPv6:::1] (unknown [129.60.241.75]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 6218D4007CE; Mon, 17 Dec 2018 22:17:34 +0900 (JST) Message-ID: <5C17A1FB.5060300@lab.ntt.co.jp> Date: Mon, 17 Dec 2018 22:17:47 +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> In-Reply-To: <5C17A00E.5000005@lab.ntt.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: Tom Lane Cc: Andrew Gierth , pgsql-hackers@postgresql.org X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk (2018/12/17 22:09), Etsuro Fujita wrote: > Here is a set of WIP patches for pushing down ORDER BY LIMIT to the remote: > > * 0001-postgres-fdw-upperrel-ordered-WIP.patch: Correction: 0001-postgres_fdw-Perform-UPPERREL_ORDERED-step-remotely-WIP.patch > * 0002-postgres-fdw-upperrel-final-WIP.patch: Correction: 0002-postgres_fdw-Perform-UPPERREL_FINAL-step-remotely-WIP.patch Best regards, Etsuro Fujita