pgsql: Prohibit altering invalidated replication slots. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Prohibit altering invalidated replication slots.
Date
Msg-id E1soxWH-000r5N-3t@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4d8489f4f1fa86a99e6db0ea702911e1cf92fa81

Modified Files
--------------
src/backend/replication/slot.c                      |  7 +++++++
src/test/recovery/t/035_standby_logical_decoding.pl | 12 +++++++++++-
2 files changed, 18 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: pg_stat_statements: Add tests with extended query protocol
Next
From: Amit Langote
Date:
Subject: pgsql: SQL/JSON: Update example in JSON_QUERY() documentation