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: 787064c)
C comment: track_activity_query_size doesn't support memory units
2014年4月10日 13:56:25 +0000 (09:56 -0400)
2014年4月10日 13:57:04 +0000 (09:57 -0400)
And explain why.

Per report from Pavel Stehule


diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index ea54d164ccc4be29f7ede255ff085bbb9cb956d8..15020c4508c6e9c8651c9fbfef0baa5eab45f5a8 100644 (file)
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -2543,6 +2543,7 @@ static struct config_int ConfigureNamesInt[] =
{"track_activity_query_size", PGC_POSTMASTER, RESOURCES_MEM,
gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."),
NULL,
+ /* There is no _bytes_ unit, so the user can't supply units for this. */
},
&pgstat_track_activity_query_size,
1024, 100, 102400,
This is the main PostgreSQL git repository.
RSS Atom

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