pgsql: Remove PgStat_KindInfo.named_on_disk

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove PgStat_KindInfo.named_on_disk
Date: 2024-07-01 00:36:19
Message-ID: E1sO51m-003j2m-P6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove PgStat_KindInfo.named_on_disk

This field is used to track if a stats kind can use a custom format
representation on disk when reading or writing its stats case. On HEAD,
this exists for replication slots stats, that need a mapping between an
internal index ID and the slot names.

named_on_disk is currently used nowhere and the callbacks
to_serialized_name and from_serialized_name are in charge of checking if
the serialization of the stats data should apply, so let's remove it.

Reviewed-by: Andres Freund
Discussion: https://postgr.es/m/ZmKVlSX_T5YvIOsd@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b19db55bd687af243dd1edf021ffb166e5270a06

Modified Files
--------------
src/backend/utils/activity/pgstat.c | 1 -
src/include/utils/pgstat_internal.h | 8 +-------
2 files changed, 1 insertion(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-07-01 00:59:14 pgsql: doc: Add ACL acronym for "Access Control List"
Previous Message David Rowley 2024-07-01 00:11:56 pgsql: Improve enlargeStringInfo's ERROR message