Improve comments atop pg_get_replication_slots.
authorAmit Kapila
Tue, 22 Nov 2022 09:52:00 +0000 (15:22 +0530)
committerAmit Kapila
Tue, 22 Nov 2022 09:52:00 +0000 (15:22 +0530)
Update comments atop pg_get_replication_slots to make it clear that it
shows all replication slots that currently exist on the database cluster.

Author: sirisha chamarthi
Discussion: https://postgr.es/m/CAKrAKeXRuFpeiWS+STGFm-RFfW19sUDxju66JkyRi13kdQf94Q@mail.gmail.com

src/backend/replication/slotfuncs.c

index 16a35279037657bada54d27d4a3ab2e38d1b2de7..79d7f1372d6398e4ca187fe39da2f0a0bbeb3564 100644 (file)
@@ -226,7 +226,8 @@ pg_drop_replication_slot(PG_FUNCTION_ARGS)
 }
 
 /*
- * pg_get_replication_slots - SQL SRF showing active replication slots.
+ * pg_get_replication_slots - SQL SRF showing all replication slots
+ * that currently exist on the database cluster.
  */
 Datum
 pg_get_replication_slots(PG_FUNCTION_ARGS)