From bb93bc7d6412fc866e27f6931e79c4c7bcc6411f Mon Sep 17 00:00:00 2001 From: Vignesh C Date: Mon, 23 Nov 2026 20:31:01 +0530 Subject: [PATCH v2] Remove comment in UpdateDeadTupleRetentionStatus() The comment was copied from DisableSubscription() by a850be2fe65. It incorrectly states that the subscription is set to disabled, whereas the code updates subretentionactive. Since the comment is redundant with the function header, simply remove it. --- src/backend/catalog/pg_subscription.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/catalog/pg_subscription.c b/src/backend/catalog/pg_subscription.c index 2ae57c056b4..8dd24cabe89 100644 --- a/src/backend/catalog/pg_subscription.c +++ b/src/backend/catalog/pg_subscription.c @@ -765,7 +765,6 @@ UpdateDeadTupleRetentionStatus(Oid subid, bool active) memset(nulls, false, sizeof(nulls)); memset(replaces, false, sizeof(replaces)); - /* Set the subscription to disabled. */ values[Anum_pg_subscription_subretentionactive - 1] = BoolGetDatum(active); replaces[Anum_pg_subscription_subretentionactive - 1] = true; -- 2.55.0