Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd4e5dd

Browse files
committed
Fix memory context initialization
1 parent696321d commitbd4e5dd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎collector.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,7 @@ collector_main(Datum main_arg)
310310

311311
CurrentResourceOwner=ResourceOwnerCreate(NULL,"pg_wait_sampling collector");
312312
collector_context=AllocSetContextCreate(TopMemoryContext,
313-
"pg_wait_sampling context",
314-
ALLOCSET_DEFAULT_MINSIZE,
315-
ALLOCSET_DEFAULT_INITSIZE,
316-
ALLOCSET_DEFAULT_MAXSIZE);
313+
"pg_wait_sampling context",ALLOCSET_DEFAULT_SIZES);
317314
old_context=MemoryContextSwitchTo(collector_context);
318315
alloc_history(&observations,collector_hdr->historySize);
319316
MemoryContextSwitchTo(old_context);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp