primary_slot_name

A configuration parameter determining the name of a replication slot to be used by a standby

primary_slot_name is a configuration parameter determining the name of a replication slot to be used by a streaming replication standby.

primary_slot_name was added in PostgreSQL 9.4 (commit 858ec118).

Change history

Details

PostgreSQL 13

postgres=# SELECT * FROM pg_settings WHERE name='primary_slot_name';
-[ RECORD 1 ]---+--------------------------------------------------------------------
name            | primary_slot_name
setting         | standby_slot_2
unit            | 
category        | Replication / Standby Servers
short_desc      | Sets the name of the replication slot to use on the sending server.
extra_desc      | 
context         | sighup
vartype         | string
source          | configuration file
min_val         | 
max_val         | 
enumvals        | 
boot_val        | 
reset_val       | standby_slot_2
sourcefile      |
sourceline      | 5
pending_restart | f

Categories

GUC configuration item, Replication

See also

wal_receiver_create_temp_slot