Transplanted pgtune and template1 extensions from HeavyWater postgresql cookbook