Fix comments atop pg_get_replication_slots

From: sirisha chamarthi <sirichamarthi22(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Fix comments atop pg_get_replication_slots
Date: 2022-11-21 07:15:57
Message-ID: CAKrAKeXRuFpeiWS+STGFm-RFfW19sUDxju66JkyRi13kdQf94Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Hackers,

The comments atop seem to indicate that it is only showing active
replication slots. The comment is ambiguous as it also shows all the slots
including lost and inactive slots. Attached a small patch to fix it.

Thanks,
Sirisha

Attachment Content-Type Size
0001-Fix-atop-pg_get_replication_slots-function-to-reflec.patch application/octet-stream 858 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2022-11-21 07:20:03 Re: [PoC] Improve dead tuple storage for lazy vacuum
Previous Message sirisha chamarthi 2022-11-21 06:57:32 Catalog_xmin is not advanced when a logical slot is lost