Skip to content

Instantly share code, notes, and snippets.

@decarv
Created February 20, 2025 02:01
Show Gist options
  • Save decarv/b8693af0ae57d2116336021c6c83ca0d to your computer and use it in GitHub Desktop.
Save decarv/b8693af0ae57d2116336021c6c83ca0d to your computer and use it in GitHub Desktop.
listen_addresses = '*' # what IP address(es) to listen on;
port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
ssl = on
ssl_cert_file = 'server.crt'
ssl_key_file = 'server.key'
shared_buffers = 128MB # min 128kB
dynamic_shared_memory_type = posix # the default is usually the first option
max_wal_size = 1GB
min_wal_size = 80MB
log_destination = 'stderr' # Valid values are combinations of
logging_collector = on # Enable capturing of stderr, jsonlog,
log_line_prefix = '%m %d %u [%p]'
log_timezone = 'America/Sao_Paulo'
datestyle = 'iso, mdy'
timezone = 'America/Sao_Paulo'
lc_messages = 'en_US.UTF-8' # locale for system error message
lc_monetary = 'en_US.UTF-8' # locale for monetary formatting
lc_numeric = 'en_US.UTF-8' # locale for number formatting
lc_time = 'en_US.UTF-8' # locale for time formatting
default_text_search_config = 'pg_catalog.english'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment