Re: Expr. extended stats are skipped with equality operator

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
Cc: Danny Shemesh <dany74q(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Expr. extended stats are skipped with equality operator
Date: 2022-08-07 17:28:02
Message-ID: 257488.1659893282@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Vondra 2022-08-07 17:31:28 Re: Expr. extended stats are skipped with equality operator
Previous Message Tomas Vondra 2022-08-07 17:23:52 Re: Expr. extended stats are skipped with equality operator