From 59a02815e2d11e5a7b4848897c763175b6b42f8a Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 24 Mar 2016 08:57:48 -0400 Subject: [PATCH] Use correct GetDatum function. Oops. --- src/backend/utils/adt/pgstatfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/adt/pgstatfuncs.c b/src/backend/utils/adt/pgstatfuncs.c index 0f6f891f8a..64c4cc4538 100644 --- a/src/backend/utils/adt/pgstatfuncs.c +++ b/src/backend/utils/adt/pgstatfuncs.c @@ -612,7 +612,7 @@ pg_stat_get_progress_info(PG_FUNCTION_ARGS) { values[2] = ObjectIdGetDatum(beentry->st_progress_command_target); for(i = 0; i < PGSTAT_NUM_PROGRESS_PARAM; i++) - values[i+3] = UInt32GetDatum(beentry->st_progress_param[i]); + values[i+3] = Int64GetDatum(beentry->st_progress_param[i]); } else { -- 2.40.0