From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ireneusz Pluta <ipluta@wp.pl>
Cc: Andres Freund <andres@anarazel.de>
Cc: 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.
Date: Fri, 20 Jul 2018 13:40:04 -0400
Message-ID: <20180720174004.ixorgubh6b4uv2e6@alvherre.pgsql> (raw)
In-Reply-To: <87effxizux.fsf@news-spur.riddles.org.uk>
On 2018-Jul-20, Andrew Gierth wrote:
> (or in the case of date_trunc and extract, maybe they need to be split
> up into separate functions so that we can properly distinguish the
> immutable from the mutable cases)
I think for partition pruning this would be useful too.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us, ipluta@wp.pl, andres@anarazel.de
Subject: Re: BUG #15287: postgres_fdw: the "WHERE date_trunc('day', dt) = 'YYYY-MM-DD' does not push to remote.
In-Reply-To: <20180720174004.ixorgubh6b4uv2e6@alvherre.pgsql>
References: <87effxizux.fsf@news-spur.riddles.org.uk> <20180720174004.ixorgubh6b4uv2e6@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox