Initialize work_mem using current guc.c default.

Do the same for the maintenance_work_mem global variable.

Oversight in commit 848ae330a4, which increased the previous defaults
for work_mem and maintenance_work_mem by 4X.
This commit is contained in:
Peter Geoghegan 2020-07-02 16:34:54 -07:00
parent e25d462a38
commit 947456a823
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ int IntervalStyle = INTSTYLE_POSTGRES;
bool enableFsync = true;
bool allowSystemTableMods = false;
int work_mem = 1024;
int maintenance_work_mem = 16384;
int work_mem = 4096;
int maintenance_work_mem = 65536;
int max_parallel_maintenance_workers = 2;
/*