Re: assertion failure at cost_memoize_rescan()
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Kohei KaiGai <kaigai@heterodb.com>,
Tomas Vondra <tomas.vondra@enterprisedb.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2024-06-18T22:23:23Z
Lists: 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
Commits
-
Fix possible Assert failure in cost_memoize_rescan
- dae9f16aa31a 14.13 landed
- 27c6242a0484 15.8 landed
- 6143c9c03f7f 16.4 landed
- aa901a37cf8a 17.0 landed