Connection string a standby uses to stream from the primary.
At a glance
| Property | Value |
|---|---|
| Parameter | primary_conninfo |
| Category | Replication |
| Default | '' |
| Value type | boolean / enum / numeric |
| Change scope | Reload (no restart) |
What it does
libpq connection string the standby uses to connect to the primary for streaming replication.
How to apply a change
Takes effect on configuration reload (sighup context). Run SELECT pg_reload_conf(); or send SIGHUP — no restart needed.
Inspect the current value and source with SHOW primary_conninfo; or SELECT name, setting, unit, context, source FROM pg_settings WHERE name = 'primary_conninfo';.
Tuning guidance
Include application_name to match synchronous_standby_names, and use a dedicated replication role plus sslmode=require for secure streaming.