1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-04 20:11:56 +03:00
Files
postgres/src/backend
Michael Paquier 3188a4582a Switch PgStat_Kind from an enum to a uint32 type
A follow-up patch is planned to make cumulative statistics pluggable,
and using a type is useful in the internal routines used by pgstats as
PgStat_Kind may have a value that was not originally in the enum removed
here, once made pluggable.

While on it, this commit switches pgstat_is_kind_valid() to use
PgStat_Kind rather than an int, to be more consistent with its existing
callers.  Some loops based on the stats kind IDs are switched to use
PgStat_Kind rather than int, for consistency with the new time.

Author: Michael Paquier
Reviewed-by: Dmitry Dolgov, Bertrand Drouvot
Discussion: https://postgr.es/m/Zmqm9j5EO0I4W8dx@paquier.xyz
2024-08-02 04:49:34 +09:00
..
2024-08-02 01:57:28 +09:00
2024-07-27 23:46:07 +12:00
2024-06-24 13:11:27 +02:00
2024-07-30 23:01:55 +12:00
2024-04-18 21:28:07 +02:00
2024-07-30 22:58:37 +12:00
2024-06-21 08:17:23 +02:00
2024-05-14 12:57:22 +02:00