Use correct GetDatum function.

Oops.
pull/11/head
Robert Haas 10 years ago
parent c2d1eea9e7
commit 59a02815e2
  1. 2
      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
{

Loading…
Cancel
Save