failover-slot · shipping · also PostgreSQL failover slot

Logical failover slot

A PostgreSQL logical failover slot is a logical replication slot enabled for synchronization to a physical standby so consumption can resume after promotion.

Related Observatory article: Logical failover slot on hesela.com

The failover flag enables synchronization; it does not prove a usable copy exists on the target standby. [1] PostgreSQL 18 readiness requires a complete slot inventory and persistent, valid, synchronized copies. [1]

Relations

related
replication-slot, logical-decoding, hot-standby-feedback, replication-lag, idempotency

Limitations

Citations

  1. PostgreSQL 18: logical replication failover (accessed 2026-10-16)
  2. PostgreSQL 18: replication slot synchronization (accessed 2026-10-16)
  3. Hesela: Replication acknowledgements and logical failover readiness (accessed 2026-10-16)
  4. PostgreSQL 18: START_REPLICATION SLOT LOGICAL and confirmed_flush_lsn (accessed 2026-10-16)

JSON: /data/terms/failover-slot.json