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: 2bd0735)
Increase the maximum value of track_activity_query_size.
Tue, 7 Jan 2020 17:14:19 +0000 (12:14 -0500)
Tue, 7 Jan 2020 17:14:19 +0000 (12:14 -0500)
This one-line change provoked a lot of discussion, but ultimately
the consensus seems to be that allowing a larger value might be
useful to somebody, and probably won't hurt anyone who chooses
not to take advantage of the higher maximum limit.

Vyacheslav Makarov, reviewed by many people.

Discussion: http://postgr.es/m/7b5ecc5a9991045e2f13c84e3047541d@postgrespro.ru


diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index a4e5d0886a1fed8688e8a9966a0dafd64c4be9ac..62285792ecafe5a82f55d8a63a8170662d8a4ea2 100644 (file)
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -3210,7 +3210,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_BYTE
},
&pgstat_track_activity_query_size,
- 1024, 100, 102400,
+ 1024, 100, 1048576,
NULL, NULL, NULL
},
This is the main PostgreSQL git repository.
RSS Atom

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