From: kpi6288@gmail.com
To: pgsql-general@postgresql.org
Subject: AW: CTE with JOIN of two tables is much faster than a regular query
Date: Sat, 18 Aug 2018 17:43:23 +0200
Message-ID: <006b01d4370a$3305b640$991122c0$@gmail.com> (raw)
In-Reply-To: <18425.1534606146@sss.pgh.pa.us>
References: <004b01d436d6$ff96c840$fec458c0$@gmail.com>
<20180818143848.GB3326@tamriel.snowman.net>
<18425.1534606146@sss.pgh.pa.us>
> -----Ursprüngliche Nachricht-----
> Von: Tom Lane <tgl@sss.pgh.pa.us>
> Gesendet: Samstag, 18. August 2018 17:29
>
> Well, it's simpler than that: filter quals are always evaluated at the
lowest
> possible plan level.
Thank you. This "always" was not clear to me, but it explains a few similar
cases (with not-so-extreme differences) that I could not understand.
Regards
Klaus
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-general@postgresql.org
Cc: kpi6288@gmail.com
Subject: Re: CTE with JOIN of two tables is much faster than a regular query
In-Reply-To: <006b01d4370a$3305b640$991122c0$@gmail.com>
References: <004b01d436d6$ff96c840$fec458c0$@gmail.com> <20180818143848.GB3326@tamriel.snowman.net> <18425.1534606146@sss.pgh.pa.us> <006b01d4370a$3305b640$991122c0$@gmail.com>
* 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