Prohibit altering invalidated replication slots.
Amit Kapila <akapila@postgresql.org>
Prohibit altering invalidated replication slots. ALTER_REPLICATION_SLOT for invalid replication slots should not be allowed because there is no way to get back the invalidated (logical) slot to work. Author: Bharath Rupireddy Reviewed-by: Peter Smith, Shveta Malik Discussion: https://www.postgresql.org/message-id/CALj2ACW4fSOMiKjQ3=2NVBMTZRTG8Ujg6jsK9z3EvOtvA4vzKQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/slot.c | modified | +7 −0 |
| src/test/recovery/t/035_standby_logical_decoding.pl | modified | +11 −1 |
Discussion
- Disallow altering invalidated replication slots 9 messages · 2024-09-09 → 2024-09-13