Re: Fix comments atop pg_get_replication_slots

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: sirisha chamarthi <sirichamarthi22@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-11-21T07:38:12Z
Lists: pgsql-hackers
On Mon, Nov 21, 2022 at 12:45 PM sirisha chamarthi
<sirichamarthi22@gmail.com> wrote:
>
> 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.
>

I agree that it is a bit confusing. How about "SQL SRF showing all
replication slots that currently exist on the database cluster"?

-- 
With Regards,
Amit Kapila.



Commits

  1. Improve comments atop pg_get_replication_slots.