Re: BUG #18375: requested statistics kind "f" is not yet built for statistics object 16722 - Mailing list pgsql-bugs

From Richard Guo
Subject Re: BUG #18375: requested statistics kind "f" is not yet built for statistics object 16722
Date
Msg-id CAMbWs48NzVeuW3cSrPOgpWww1wkw=L4QLPsM97PNzQ+d4L++qA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18375: requested statistics kind "f" is not yet built for statistics object 16722  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: BUG #18375: requested statistics kind "f" is not yet built for statistics object 16722  (David Rowley <dgrowleyml@gmail.com>)
List 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

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: FSM Corruption (was: Could not read block at end of the relation)
Next
From: Michael Paquier
Date:
Subject: Re: BUG #18371: There are wrong constraint residues when detach hash partiton concurrently