Hi,

While reviewing other work, I noticed a wrong comment in
UpdateDeadTupleRetentionStatus() in pg_subscription.c, the comment
above the catalog update says:
/* Set the subscription to disabled. */

However, the code updates subretentionactive, not subenabled. This
comment appears to have been copied from DisableSubscription() when
the function was added.

The attached patch updates the comment to:
/* Set the dead tuple retention status for the subscription. */

Regards,
Vignesh

Attachment: 0001-Fix-comment-in-UpdateDeadTupleRetentionStatus.patch
Description: Binary data

Reply via email to