git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1029bde) | patch
Remove PgStat_KindInfo.named_on_disk
Mon, 1 Jul 2024 00:35:36 +0000 (09:35 +0900)
Mon, 1 Jul 2024 00:35:36 +0000 (09:35 +0900)
commit b19db55bd687af243dd1edf021ffb166e5270a06
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
src/backend/utils/activity/pgstat.c diff | blob | blame | history
src/include/utils/pgstat_internal.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /