Commit 947456a8 authored by Peter Geoghegan's avatar Peter Geoghegan

Initialize work_mem using current guc.c default.

Do the same for the maintenance_work_mem global variable.

Oversight in commit 848ae330, which increased the previous defaults
for work_mem and maintenance_work_mem by 4X.
parent e25d462a
...@@ -118,8 +118,8 @@ int IntervalStyle = INTSTYLE_POSTGRES; ...@@ -118,8 +118,8 @@ int IntervalStyle = INTSTYLE_POSTGRES;
bool enableFsync = true; bool enableFsync = true;
bool allowSystemTableMods = false; bool allowSystemTableMods = false;
int work_mem = 1024; int work_mem = 4096;
int maintenance_work_mem = 16384; int maintenance_work_mem = 65536;
int max_parallel_maintenance_workers = 2; int max_parallel_maintenance_workers = 2;
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment