summaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2022-11-22 15:22:00 +0530
committerAmit Kapila <akapila@postgresql.org>2022-11-22 15:22:00 +0530
commita1efcda7c33d10658dac214514ca8359a1da4e42 (patch)
tree15dd8f6a57857ab4700a26c6213d9027f975af62 /src/backend/replication
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
Diffstat (limited to 'src/backend/replication')
-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 16a35279037..79d7f1372d6 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)