Re: error "can only drop stats once" brings down database

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Michael Paquier <michael@paquier.xyz>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, bertranddrouvot.pg@gmail.com, florisvannee@optiver.com, tgl@sss.pgh.pa.us, pgsql-bugs@lists.postgresql.org
Date: 2024-06-07T03:12:58Z
Lists: pgsql-bugs
On 2024-06-07 11:46:04 +0900, Michael Paquier wrote:
> On Fri, Jun 07, 2024 at 10:15:40AM +0900, Kyotaro Horiguchi wrote:
> > To me, this is something that is not expected to happen, but if it
> > does, we would want detailed information. In that sense, it might be
> > better not to hide it in the DETAILS field.
> 
> Same arguments here.  A simple elog() makes easier to get to this
> data.

+1



Commits

  1. Add more debugging information when dropping twice pgstats entry