gvasalt/states/postgresql-server/custom.conf

12 lines
713 B
Text
Raw Normal View History

listen_addresses = '{{ salt['grains.get']('ipv4') | join(",") }}'
shared_buffers = {{ salt['pillar.get']('postgresql-server:shared_buffers', '1GB') }}
work_mem = {{ salt['pillar.get']('postgresql-server:work_mem', '10MB') }}
maintenance_work_mem = {{ salt['pillar.get']('postgresql-server:maintenance_work_mem', '32MB') }}
effective_cache_size = {{ salt['pillar.get']('postgresql-server:effective_cache_size', '2GB') }}
lc_messages = 'de_DE.UTF-8' # locale for system error message
lc_monetary = 'de_DE.UTF-8' # locale for monetary formatting
lc_numeric = 'de_DE.UTF-8' # locale for number formatting
lc_time = 'de_DE.UTF-8' # locale for time formatting
default_text_search_config = 'pg_catalog.german'