We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 696321d commit bd4e5ddCopy full SHA for bd4e5dd
collector.c
@@ -310,10 +310,7 @@ collector_main(Datum main_arg)
310
311
CurrentResourceOwner = ResourceOwnerCreate(NULL, "pg_wait_sampling collector");
312
collector_context = AllocSetContextCreate(TopMemoryContext,
313
- "pg_wait_sampling context",
314
- ALLOCSET_DEFAULT_MINSIZE,
315
- ALLOCSET_DEFAULT_INITSIZE,
316
- ALLOCSET_DEFAULT_MAXSIZE);
+ "pg_wait_sampling context", ALLOCSET_DEFAULT_SIZES);
317
old_context = MemoryContextSwitchTo(collector_context);
318
alloc_history(&observations, collector_hdr->historySize);
319
MemoryContextSwitchTo(old_context);
0 commit comments