Skip to content

Commit 8fcccad

Browse files
committed
C comment: track_activity_query_size doesn't support memory units
And explain why. Per report from Pavel Stehule
1 parent 787064c commit 8fcccad

File tree

1 file changed

+1
-0
lines changed
  • src/backend/utils/misc

1 file changed

+1
-0
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,6 +2543,7 @@ static struct config_int ConfigureNamesInt[] =
25432543
{"track_activity_query_size", PGC_POSTMASTER, RESOURCES_MEM,
25442544
gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."),
25452545
NULL,
2546+
/* There is no _bytes_ unit, so the user can't supply units for this. */
25462547
},
25472548
&pgstat_track_activity_query_size,
25482549
1024, 100, 102400,

0 commit comments

Comments
 (0)