fix memory context creation

background-job-details
Nils Dijk 2022-08-19 13:03:41 +02:00 committed by Jelte Fennema
parent 160385ca2f
commit 624e29e9e9
1 changed files with 5 additions and 6 deletions

View File

@ -159,8 +159,7 @@ CitusBackgroundTaskMonitorMain(Datum arg)
pg_usleep(30 * 1000 * 1000);
}
MemoryContext perTaskContext =
AllocSetContextCreateExtended(CurrentMemoryContext,
MemoryContext perTaskContext = AllocSetContextCreate(CurrentMemoryContext,
"PerTaskContext",
ALLOCSET_DEFAULT_MINSIZE,
ALLOCSET_DEFAULT_INITSIZE,