Re: assertion failure at cost_memoize_rescan() - Mailing list pgsql-hackers

From David Rowley
Subject Re: assertion failure at cost_memoize_rescan()
Date
Msg-id CAApHDvp_Fc_DFx5dzA8P6P3dCXTfeujxwBBfdXqJ7Bkcz3rX5w@mail.gmail.com
Whole thread Raw
In response to Re: assertion failure at cost_memoize_rescan()  (Richard Guo <guofenglinux@gmail.com>)
List pgsql-hackers
On Tue, 18 Jun 2024 at 15:14, Richard Guo <guofenglinux@gmail.com> wrote:
>
> On Tue, Jun 18, 2024 at 10:53 AM David Rowley <dgrowleyml@gmail.com> wrote:
> > I think the best solution is to apply the attached.  I didn't test,
> > but it should fix the issue you reported and also ensure that
> > MemoizePath.calls is never zero, which would also cause issues in the
> > hit_ratio calculation in cost_memoize_rescan().
>
> +1.

Thanks for looking. Pushed.

David



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: BitmapHeapScan streaming read user and prelim refactoring
Next
From: Andreas 'ads' Scherbaum
Date:
Subject: Re: Proposal: Document ABI Compatibility