pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove PgStat_KindInfo.named_on_disk
Date: Mon, 01 Jul 2024 00:36:19 +0000
Message-ID: <E1sO51m-003j2m-P6@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1sO51m-003j2m-P6@gemulon.postgresql.org>
Permalink:  ../E1sO51m-003j2m-P6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sO51m-003j2m-P6@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove PgStat_KindInfo.named_on_disk
  In-Reply-To: <E1sO51m-003j2m-P6@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox