Use correct GetDatum function.

Oops.
This commit is contained in:
Robert Haas 2016-03-24 08:57:48 -04:00
parent c2d1eea9e7
commit 59a02815e2

View File

@ -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
{