Skip to content

Commit 59a0281

Browse files
committed
Use correct GetDatum function.
Oops.
1 parent c2d1eea commit 59a0281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/pgstatfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ pg_stat_get_progress_info(PG_FUNCTION_ARGS)
612612
{
613613
values[2] = ObjectIdGetDatum(beentry->st_progress_command_target);
614614
for(i = 0; i < PGSTAT_NUM_PROGRESS_PARAM; i++)
615-
values[i+3] = UInt32GetDatum(beentry->st_progress_param[i]);
615+
values[i+3] = Int64GetDatum(beentry->st_progress_param[i]);
616616
}
617617
else
618618
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy