mirror of
https://github.com/postgres/postgres.git
synced 2025-06-06 00:02:36 -04:00
Use correct GetDatum function.
Oops.
This commit is contained in:
parent
c2d1eea9e7
commit
59a02815e2
@ -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…
x
Reference in New Issue
Block a user