Re: Skip unregistered custom kinds on stats load - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: Skip unregistered custom kinds on stats load
Date
Msg-id 202510220541.4tmiibgb2grl@alvherre.pgsql
Whole thread Raw
In response to Re: Skip unregistered custom kinds on stats load  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Skip unregistered custom kinds on stats load
List pgsql-hackers
On 2025-Oct-21, Michael Paquier wrote:

> The existing implementation is a choice of simplicity, prioritizing
> availability, FWIW, to keep the contents of the on-disk file simpler.

FWIW I don't necessarily agree with what Sami is proposing, but (if I
understand the situation correctly) I think throwing away the whole
contents of stats when a module is removed is the opposite of
availability, as it will lead to autovacuum lacking data and thus bloat
problems.  This is of course always problematic after a crash (unless
somebody has fixed this already?) but at least it is supposed to be a
known issue.  With these custom stat kind thingies, nobody knows that
this problem exists.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Por suerte hoy explotó el califont porque si no me habría muerto
 de aburrido"  (Papelucho)



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Logical Replication of sequences
Next
From: Tatsuo Ishii
Date:
Subject: Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options