summaryrefslogtreecommitdiff
path: root/src/backend/replication/basebackup_sink.c
diff options
context:
space:
mode:
authorMichael Paquier2022-03-15 02:29:23 +0000
committerMichael Paquier2022-03-15 02:29:35 +0000
commit6bdf1a1400d3fb8c87e020be943942dcab7e75e2 (patch)
tree36a89f562b86d31636c092256af2c7cb3ad2d106 /src/backend/replication/basebackup_sink.c
parentff8b37ba801073b4506f670317141785bab9f4d8 (diff)
Fix collection of typos in the code and the documentation
Some words were duplicated while other places were grammatically incorrect, including one variable name in the code. Author: Otto Kekalainen, Justin Pryzby Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/replication/basebackup_sink.c')
-rw-r--r--src/backend/replication/basebackup_sink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/basebackup_sink.c b/src/backend/replication/basebackup_sink.c
index 47ba50c2f87..81353f8f4d1 100644
--- a/src/backend/replication/basebackup_sink.c
+++ b/src/backend/replication/basebackup_sink.c
@@ -18,7 +18,7 @@
* Forward begin_backup callback.
*
* Only use this implementation if you want the bbsink you're implementing to
- * share a buffer with the succesor bbsink.
+ * share a buffer with the successor bbsink.
*/
void
bbsink_forward_begin_backup(bbsink *sink)
@@ -43,7 +43,7 @@ bbsink_forward_begin_archive(bbsink *sink, const char *archive_name)
/*
* Forward archive_contents callback.
*
- * Code that wants to use this should initalize its own bbs_buffer and
+ * Code that wants to use this should initialize its own bbs_buffer and
* bbs_buffer_length fields to the values from the successor sink. In cases
* where the buffer isn't shared, the data needs to be copied before forwarding
* the callback. We don't do try to do that here, because there's really no