Fix a wrong comment in UpdateDeadTupleRetentionStatus()

From: vignesh C <vignesh21(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fix a wrong comment in UpdateDeadTupleRetentionStatus()
Date: 2026-11-24 09:09:29
Message-ID: CALDaNm1TJgdeAWLxLFoVOgdfp5RqT5x3TCC2Y8X0TJLe+aRAvQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 Content-Type Size
0001-Fix-comment-in-UpdateDeadTupleRetentionStatus.patch application/octet-stream 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2026-11-24 09:18:47 Fix network subset support with custom operator classes
Previous Message Kyotaro Horiguchi 2026-11-24 08:58:26 Re: Speed up binary COPY TO by not allocating 1 kB per datum