Re: Is there value in having optimizer stats for joins/foreignkeys? - Mailing list pgsql-hackers

From Alexandra Wang
Subject Re: Is there value in having optimizer stats for joins/foreignkeys?
Date
Msg-id CAK98qZ0Vr4D3usesj_qpNFAH1=7NKX=bR9bNRNM7tdnk5KWHDw@mail.gmail.com
Whole thread
In response to Re: Is there value in having optimizer stats for joins/foreignkeys?  (Alexandra Wang <alexandra.wang.oss@gmail.com>)
Responses Re: Is there value in having optimizer stats for joins/foreignkeys?
List pgsql-hackers
On Tue, Apr 28, 2026 at 10:59 PM Alexandra Wang <alexandra.wang.oss@gmail.com> wrote:
> I've attached the v1 patch and am looking for reviews.

Sorry for the CI breakage!

The Assert(ndims >= 2) in multi_sort_init() failed for join stats that
have a single filter column. Attached v2 that fixed it (relaxed to
ndims >= 1, plus a shadowed variable warning from GCC).      

The pg_upgrade failure is expected due to the new catalog columns.
I will post a fix soon.

Best,
Alex

Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: [Bug][patch]: After dropping the last label from a property graph element, invoking pg_get_propgraphdef() triggers an assertion failure
Next
From: Ayush Tiwari
Date:
Subject: Re: Changing the state of data checksums in a running cluster