Use proper GetDatum function in pg_stat_get_slru(). This commit changes pg_stat_get_slru() so that it uses TimestampTzGetDatum() for stats_reset field because that field stores the timestamp with time zone value. Previously Int64GetDatum() was used.
Author: Fujii Masao Reviewed-by: Tomas Vondra Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/043e3e04016077735f986726a3a74192c295ace7 Modified Files -------------- src/backend/utils/adt/pgstatfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
