git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0557e17)
Improve comments atop pg_get_replication_slots.
2022年11月22日 09:52:00 +0000 (15:22 +0530)
2022年11月22日 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


diff --git a/src/backend/replication/slotfuncs.c b/src/backend/replication/slotfuncs.c
index 16a35279037657bada54d27d4a3ab2e38d1b2de7..79d7f1372d6398e4ca187fe39da2f0a0bbeb3564 100644 (file)
--- 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)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /