Skip dropping tablesync replication slots on the publisher from branch (#11073)

fixes https://github.com/neondatabase/cloud/issues/24292

Do not drop tablesync replication slots on the publisher, 
when we're in the process of dropping subscriptions inherited by a neon
branch.
Because these slots are still needed by the parent branch subscriptions.

For regular slots we handle this by setting the slot_name to NONE
before calling DROP SUBSCRIPTION, but tablesync slots are not exposed to
SQL.

rely on GUC disable_logical_replication_subscribers=true 
to know that we're in the Neon-specific process of dropping
subscriptions.
This commit is contained in:
Anastasia Lubennikova
2025-03-05 11:29:46 +00:00
committed by GitHub
parent 40aa4d7151
commit 38a883118a
5 changed files with 8 additions and 8 deletions

View File

@@ -1,18 +1,18 @@
{
"v17": [
"17.4",
"517b8dc244abf3e56f0089849e464af76f70b94e"
"780efda2ef8d629495cc289624534ba8cde40779"
],
"v16": [
"16.8",
"799e7a08dd171aa06a7395dd326f4243aaeb9f93"
"78050f965f2e550fd6e58f837394cb3d080d7d42"
],
"v15": [
"15.12",
"9b118b1cffa6e4ca0d63389b57b54d11e207e9a8"
"533be42f7da97e614ce1c494fafe3e49f53991b1"
],
"v14": [
"14.17",
"6254ab9b4496c3e481bc037ae69d859bbc2bdd7d"
"b1425505c6f9a622a5aadf3ee362740519993310"
]
}