Commit 59a02815 authored by Robert Haas's avatar Robert Haas

Use correct GetDatum function.

Oops.
parent c2d1eea9
...@@ -612,7 +612,7 @@ pg_stat_get_progress_info(PG_FUNCTION_ARGS) ...@@ -612,7 +612,7 @@ pg_stat_get_progress_info(PG_FUNCTION_ARGS)
{ {
values[2] = ObjectIdGetDatum(beentry->st_progress_command_target); values[2] = ObjectIdGetDatum(beentry->st_progress_command_target);
for(i = 0; i < PGSTAT_NUM_PROGRESS_PARAM; i++) 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 else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment