Commit 8fcccadf authored by Bruce Momjian's avatar Bruce Momjian

C comment: track_activity_query_size doesn't support memory units

And explain why.

Per report from Pavel Stehule
parent 787064cd
...@@ -2543,6 +2543,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -2543,6 +2543,7 @@ static struct config_int ConfigureNamesInt[] =
{"track_activity_query_size", PGC_POSTMASTER, RESOURCES_MEM, {"track_activity_query_size", PGC_POSTMASTER, RESOURCES_MEM,
gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."), gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."),
NULL, NULL,
/* There is no _bytes_ unit, so the user can't supply units for this. */
}, },
&pgstat_track_activity_query_size, &pgstat_track_activity_query_size,
1024, 100, 102400, 1024, 100, 102400,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment