Re: error "can only drop stats once" brings down database - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: error "can only drop stats once" brings down database
Date
Msg-id ZmE-qm8d9kfDfnMy@paquier.xyz
Whole thread Raw
In response to RE: error "can only drop stats once" brings down database  (Floris Van Nee <florisvannee@Optiver.com>)
Responses Re: error "can only drop stats once" brings down database
List pgsql-bugs
On Wed, Jun 05, 2024 at 10:31:04AM +0000, Floris Van Nee wrote:
> This patch would help in getting more info about this specific issue
> if it reoccurs, but in that case it's only helpful if it's
> backpatched.
> Agree the refcount addition makes sense.

Adding Bertrand in CC as he was similarly playing with this area.

What would both of you think about the attached.  This is a mix of
what's been proposed on the two threads, with the addition of the
refcount.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18477: A specific SQL query with "ORDER BY ... NULLS FIRST" is performing poorly if an ordering column is n
Next
From: David Rowley
Date:
Subject: Re: BUG #18477: A specific SQL query with "ORDER BY ... NULLS FIRST" is performing poorly if an ordering column is n