52 lines
1.2 KiB
Text
52 lines
1.2 KiB
Text
|
|
data_directory = '/var/lib/postgresql/15/main'
|
|
hba_file = '/etc/postgresql/15/main/pg_hba.conf'
|
|
ident_file = '/etc/postgresql/15/main/pg_ident.conf'
|
|
|
|
|
|
#listen_addresses = 'localhost'
|
|
listen_addresses = '*'
|
|
port = 5432
|
|
max_connections = 100
|
|
unix_socket_directories = '/var/run/postgresql'
|
|
password_encryption = scram-sha-256
|
|
|
|
ssl = on
|
|
#ssl_ca_file = ''
|
|
ssl_cert_file = '/etc/ssl/certs/ssl-cert-snakeoil.pem'
|
|
#ssl_crl_file = ''
|
|
#ssl_crl_dir = ''
|
|
ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'
|
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
#ssl_prefer_server_ciphers = on
|
|
#ssl_ecdh_curve = 'prime256v1'
|
|
#ssl_min_protocol_version = 'TLSv1.2'
|
|
#ssl_max_protocol_version = ''
|
|
#ssl_dh_params_file = ''
|
|
#ssl_passphrase_command = ''
|
|
#ssl_passphrase_command_supports_reload = off
|
|
|
|
shared_buffers = 128MB
|
|
dynamic_shared_memory_type = posix # the default is usually the first option
|
|
|
|
max_wal_size = 1GB
|
|
min_wal_size = 80MB
|
|
|
|
log_line_prefix = '%m [%p] %q%u@%d '
|
|
log_timezone = 'Etc/UTC'
|
|
|
|
|
|
cluster_name = '15/main'
|
|
|
|
datestyle = 'iso, mdy'
|
|
timezone = 'Etc/UTC'
|
|
lc_messages = 'C.UTF-8'
|
|
lc_monetary = 'C.UTF-8'
|
|
lc_numeric = 'C.UTF-8'
|
|
lc_time = 'C.UTF-8'
|
|
|
|
default_text_search_config = 'pg_catalog.english'
|
|
|
|
# include files ending in '.conf' from
|
|
include_dir = 'conf.d'
|
|
|