Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgYRf-0008GM-Mq for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Jul 2018 16:39:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fgYRd-0005Zk-4r for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Jul 2018 16:39:53 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgYRc-0005Zd-7n for pgsql-bugs@lists.postgresql.org; Fri, 20 Jul 2018 16:39:52 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgYRY-0001st-Fg for pgsql-bugs@lists.postgresql.org; Fri, 20 Jul 2018 16:39:51 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 9DA0322D6; Fri, 20 Jul 2018 12:39:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 20 Jul 2018 12:39:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=/h1o20+gnKKrXL2yGEqbhfoVxUYD9Idc5ADKgpgsvno=; b=yWHfkuaT VlwLcjiavpzDWgj0BS8j0z/CQpfOCb2zl7AOkz9RJ2VM7+H5SuRG9ggJhXQ2A44b wgKva3OBR8jKiRe4vXRkhfXgXwKZa0WNp21hFLRE158ltwmvwGUQrBEDdOTljaNu 93Ue4lKpWyoR2eYz4Zxgib1yTxGzDshOq98ILgJqfpGSmpC58whxvxjJrZKMbaWC wKr2eGc5uQoNgg8ec1jgM8RelnU/iDMJ8gPh2zDsE7HKR4jGHyjU7m8d8vAI4pVL Hqd6So+1Rec/hx2NixbcLSS5/y619IFuRgUQ6ynz2e/OyDCoadlGBMZDKGgF0RYM 6qeJs8bsZgB1xA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=/h1o20+gnKKrXL2yGEqbhfoVxUYD9 Idc5ADKgpgsvno=; b=KNuOKeeFFGob8q2a1JpeHhzMTxu+8lNQYP/bcKLdqeaCJ IubENFquzfHu761qivr3Zl3ssxot8RIhtZZMv4yEQXR4XX/JgHFWsAucwZph/utX xzUWpnkVDnfVvCHKZFkE6PTBkbRCQuf/ItHR9z7zzvuZaYT3TdyKXNdnImbXIiee u38+VkqjsKqJgzZAZX3CPJyv3bceaZmvDowsmQG+BQgfSG4+kuENciHgeeAWXNP0 lbF2pcMna4oMoxceiyr4bkscZQryuiCd0vcp5GMUGkodeEWaZrd3gVdzyTvUpJX1 SNdlFibu0eCloufPDwzSo7kFyfqSzM6gP7Wr/w1tg== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-75-69-87-158.hsd1.vt.comcast.net [75.69.87.158]) by mail.messagingengine.com (Postfix) with ESMTPA id E56F010255; Fri, 20 Jul 2018 12:39:45 -0400 (EDT) Date: Fri, 20 Jul 2018 09:39:45 -0700 From: Andres Freund To: ipluta@wp.pl, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15287: postgres_fdw: the "WHERE date_trunc('day', dt) = 'YYYY-MM-DD' does not push to remote. Message-ID: <20180720163945.exro5xgl7skq3kzo@alap3.anarazel.de> References: <153210427860.1404.15984608571673921883@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <153210427860.1404.15984608571673921883@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-07-20 16:31:18 +0000, PG Bug reporting form wrote: > the clause: > WHERE date_trunc('day'::text, dt::timestamp without time zone) = > 'yyyy-mm-dd' > does not get shipped to the foreign server. You're probably going to have a higher likelihood of getting the bug fixed quickly if you'd include a full reproducer. Greetings, Andres Freund