From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Sami Imseih <samimseih(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Skip unregistered custom kinds on stats load |
Date: | 2025-10-22 05:44:27 |
Message-ID: | 202510220541.4tmiibgb2grl@alvherre.pgsql |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2025-10-22 05:49:11 | Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options |
Previous Message | Amit Kapila | 2025-10-22 05:40:52 | Re: Logical Replication of sequences |