2026-02-23 15:48:21 +01:00
|
|
|
backend_clustering_mode = 'streaming_replication'
|
|
|
|
|
listen_addresses = '*'
|
|
|
|
|
port = 5432
|
|
|
|
|
backend_hostname0 = 'postgres1'
|
|
|
|
|
backend_port0 = 5432
|
|
|
|
|
backend_weight0 = 1
|
|
|
|
|
backend_data_directory0 = '/var/lib/postgresql/data'
|
|
|
|
|
backend_flag0 = 'ALLOW_TO_FAILOVER'
|
|
|
|
|
backend_hostname1 = 'postgres2'
|
|
|
|
|
backend_port1 = 5432
|
|
|
|
|
backend_weight1 = 1
|
|
|
|
|
backend_data_directory1 = '/var/lib/postgresql/data'
|
|
|
|
|
backend_flag1 = 'ALLOW_TO_FAILOVER'
|
|
|
|
|
enable_pool_hba = on
|
2026-02-23 15:59:17 +01:00
|
|
|
logdir = '/var/log/postgresql'
|
2026-02-23 15:48:21 +01:00
|
|
|
sr_check_user = 'pgpool'
|
|
|
|
|
sr_check_password = 'secret'
|
|
|
|
|
health_check_period = 10
|
|
|
|
|
health_check_user = 'pgpool'
|
|
|
|
|
health_check_password = 'secret'
|
|
|
|
|
recovery_user = 'pgpool'
|
|
|
|
|
recovery_password = 'secret'
|