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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: bertranddrouvot.pg@gmail.com, florisvannee@optiver.com, andres@anarazel.de, tgl@sss.pgh.pa.us, pgsql-bugs@lists.postgresql.org
Date: 2024-06-07T02:46:04Z
Lists: pgsql-bugs
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.
--
Michael

Commits

  1. Add more debugging information when dropping twice pgstats entry