Increase the maximum value of track_activity_query_size.
authorRobert Haas <rhaas@postgresql.org>
Tue, 7 Jan 2020 17:14:19 +0000 (12:14 -0500)
committerRobert Haas <rhaas@postgresql.org>
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

src/backend/utils/misc/guc.c

index a4e5d0886a1fed8688e8a9966a0dafd64c4be9ac..62285792ecafe5a82f55d8a63a8170662d8a4ea2 100644 (file)
@@ -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
    },