Re: FW: query pg_stat_ssl hang 100%cpu - Mailing list pgsql-bugs

From Thomas Munro
Subject Re: FW: query pg_stat_ssl hang 100%cpu
Date
Msg-id CA+hUKG+okrN2e_GrWrYVGd8+uVznAUPNsjbgEtfY0rAdrwR-Vg@mail.gmail.com
Whole thread Raw
In response to RE: FW: query pg_stat_ssl hang 100%cpu  ("James Pang (chaolpan)" <chaolpan@cisco.com>)
Responses Re: FW: query pg_stat_ssl hang 100%cpu
List pgsql-bugs
On Thu, Sep 7, 2023 at 10:39 PM James Pang (chaolpan)
<chaolpan@cisco.com> wrote:
> (gdb) p RecordCacheArray
> $1 = (TupleDesc *) 0x7f5fac365d90
> (gdb) p RecordIdentifierArray
> $2 = (uint64 *) 0x0

Hah, yeah that's it, and you've been extremely unlucky to hit it.
ensure_record_cache_typmod_slot_exists() should be more careful about
cleaning up on allocation failure, to avoid this state.



pgsql-bugs by date:

Previous
From: "James Pang (chaolpan)"
Date:
Subject: RE: FW: query pg_stat_ssl hang 100%cpu
Next
From: David Rowley
Date:
Subject: Re: BUG #18092: Unexpected Result by enable_seqscan