summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila2022-11-22 09:52:00 +0000
committerAmit Kapila2022-11-22 09:52:00 +0000
commita1efcda7c33d10658dac214514ca8359a1da4e42 (patch)
tree15dd8f6a57857ab4700a26c6213d9027f975af62
parent0557e1770230fe5ca855fdf45bb297bd38a9ec1b (diff)
Improve comments atop pg_get_replication_slots.
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
-rw-r--r--src/backend/replication/slotfuncs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/replication/slotfuncs.c b/src/backend/replication/slotfuncs.c
index 16a3527903..79d7f1372d 100644
--- a/src/backend/replication/slotfuncs.c
+++ b/src/backend/replication/slotfuncs.c
@@ -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)