Re: BUG #18375: requested statistics kind "f" is not yet built for statistics object 16722
Richard Guo <guofenglinux@gmail.com>
From: Richard Guo <guofenglinux@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: horst.reiterer@fabasoft.com, pgsql-bugs@lists.postgresql.org
Date: 2024-03-05T01:09:55Z
Lists: pgsql-bugs
On Tue, Mar 5, 2024 at 8:35 AM David Rowley <dgrowleyml@gmail.com> wrote: > On Tue, 5 Mar 2024 at 04:03, PG Bug reporting form > <noreply@postgresql.org> wrote: > > Before 15.6, we haven't see this error. Unfortunately, I cannot reproduce > > the issue with a minimal test case. Interestingly, the error states that > > statistics for kind "f" are not yet built. If I'm not mistaken, "f" > > corresponds to STATS_EXT_DEPENDENCIES, which we're not using anywhere in > the > > installation. > > I'd say that's a mistake in the ERROR message and unrelated to the > wider problem you're seeing. > > I see there's another one in statext_expressions_load() too. The > attached fixes both. Nice catch. Looking at other statext_XXX_load functions and we're good there. Thanks Richard
Commits
-
Fix incorrectly reported stats kind in "can't happen" ERROR
- 94246405d5d7 12.19 landed
- 421dfb41a843 13.15 landed
- 0c2dda109a6c 14.12 landed
- 164fe7a6e1f3 15.7 landed
- ac7e6a01c717 16.3 landed
- a37a3e2b36d7 17.0 landed