From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Danny Shemesh <dany74q@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Expr. extended stats are skipped with equality operator
Date: Sun, 07 Aug 2022 13:28:02 -0400
Message-ID: <257488.1659893282@sss.pgh.pa.us> (raw)
In-Reply-To: <0936f584-a910-1d49-6806-dd0a8303c3e6@enterprisedb.com>
References: <CAFZC=QqfpQCG4gCsZYnYgDseazjiKNLM3=vUg3zS64LbuXrzvQ@mail.gmail.com>
<0936f584-a910-1d49-6806-dd0a8303c3e6@enterprisedb.com>
Tomas Vondra <tomas.vondra@enterprisedb.com> writes:
> Yeah, this seems like a clear bug - we should not fail queries like
> this. It's a sign statext_is_compatible_clause() and the MCV code
> disagrees which clauses are compatible.
Indeed. I attempted to fix that at e33ae53dd.
regards, tom lane
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: tgl@sss.pgh.pa.us, tomas.vondra@enterprisedb.com, dany74q@gmail.com
Subject: Re: Expr. extended stats are skipped with equality operator
In-Reply-To: <257488.1659893282@sss.pgh.pa.us>
References: <CAFZC=QqfpQCG4gCsZYnYgDseazjiKNLM3=vUg3zS64LbuXrzvQ@mail.gmail.com> <0936f584-a910-1d49-6806-dd0a8303c3e6@enterprisedb.com> <257488.1659893282@sss.pgh.pa.us>
* 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