postgresql replication guide
plica` Set `max_wal_senders` to allow multiple standby connections. Define `wal_keep_segments` to retain WAL logs for standby synchronization. Enable `hot_standby = on` for read-only queries on standby. Update `pg_hba.conf`: Add replication privileges for stand