git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2d1eea)
Use correct GetDatum function.
2016年3月24日 12:57:48 +0000 (08:57 -0400)
2016年3月24日 12:57:48 +0000 (08:57 -0400)
Oops.


diff --git a/src/backend/utils/adt/pgstatfuncs.c b/src/backend/utils/adt/pgstatfuncs.c
index 0f6f891f8ac97035e6540f645c5cbbd4e7bdcd2f..64c4cc4538d3bad03157b9bb342a5298ea6168b1 100644 (file)
--- a/src/backend/utils/adt/pgstatfuncs.c
+++ b/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
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /