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 1fgYZs-0000EJ-9Q for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Jul 2018 16:48:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fgYZq-00024n-Ok for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Jul 2018 16:48:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgYZq-00024g-Ag for pgsql-bugs@lists.postgresql.org; Fri, 20 Jul 2018 16:48:22 +0000 Received: from mx3.wp.pl ([212.77.101.10]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgYZm-000756-UY for pgsql-bugs@lists.postgresql.org; Fri, 20 Jul 2018 16:48:21 +0000 Received: (wp-smtpd smtp.wp.pl 36595 invoked from network); 20 Jul 2018 18:48:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1532105296; bh=HnZeQZuTKx3rVHPW/rmh9PiS2Jz192Et2Y8WVeepBlc=; h=Subject:To:From; b=iuNF3zA4LkvS9DQrl4zgJaoWs7iVmBr/YRMCcRWyNZoiPCYB7S/w26DMHObgMvIaX l/+NRLu7mbUUS1gftfYOsiO1LivGjUkdqMqolskCQKhhOQEh68r+0c3ZC/JMIX0z/4 DZyo4nlYuvCR6bMHP2KLJXryA7ROAhQ27qxRlKrA= Received: from 78-11-36-98.cmr.net.pl (HELO [192.168.1.195]) (ipluta@wp.pl@[78.11.36.98]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 20 Jul 2018 18:48:16 +0200 Subject: Re: BUG #15287: postgres_fdw: the "WHERE date_trunc('day', dt) = 'YYYY-MM-DD' does not push to remote. To: Andres Freund , pgsql-bugs@lists.postgresql.org References: <153210427860.1404.15984608571673921883@wrigleys.postgresql.org> <20180720163945.exro5xgl7skq3kzo@alap3.anarazel.de> From: Ireneusz Pluta Message-ID: <9d6b978a-1aff-4f9e-03c6-0489836570d8@wp.pl> Date: Fri, 20 Jul 2018 18:48:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180720163945.exro5xgl7skq3kzo@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pl X-WP-MailID: 310aaa82f33a93aeb9dcc4478cb162ce X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [caNU] List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk W dniu 2018-07-20 o 18:39, Andres Freund pisze: > 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 Sure, but RhodiumToad was so kind promising to follow up on this, so I skipped that chore :-).