wal_receiver_create_temp_slot

A configuration parameter determining whether the walreceiver should use a temporary replication slot

wal_receiver_create_temp_slot is a configuration parameter determining whether the walreceiver should use a temporary replication slot if primary_slot_name is not set.

wal_receiver_create_temp_slot was added in PostgreSQL 13.

Default

The default is off.

Applying changes

Changes to wal_receiver_create_temp_slot can be applied with pg_reload_conf(), pg_ctl reload or SIGHUP.

Details

PostgreSQL 13

postgres=# SELECT * FROM pg_settings WHERE name='wal_receiver_create_temp_slot';
-[ RECORD 1 ]---+-----------------------------------------------------------------------------------------------------------
name            | wal_receiver_create_temp_slot
setting         | off
unit            | 
category        | Replication / Standby Servers
short_desc      | Sets whether a WAL receiver should create a temporary replication slot if no permanent slot is configured.
extra_desc      | 
context         | sighup
vartype         | bool
source          | default
min_val         | 
max_val         | 
enumvals        | 
boot_val        | off
reset_val       | off
sourcefile      | 
sourceline      | 
pending_restart | f

Change history

Categories

GUC configuration item, Replication

See also

primary_slot_name