# PostgreSQL Replica Configuration for Streaming Replication # This is a replica (read-only) server # Connection settings hba_file = '/etc/postgresql/pg_hba.conf' listen_addresses = '*' port = 5432 # Hot standby settings (allow read queries on replica) hot_standby = on hot_standby_feedback = on # Primary connection info (will be set dynamically via pg_basebackup -R or manually) # The primary_conninfo is typically set automatically when using pg_basebackup -R # primary_conninfo = 'host=pgsql1.pgsql17-repl port=5432 user=replicator password=replicator' # Logging logging_collector = 'on' log_directory = '/var/log/postgresql' log_filename = 'postgresql.log' log_statement = 'all' # SSL (disabled for CI/CD testing) ssl = 'off'