diff options
author | Daniel Gustafsson | 2024-04-18 19:28:07 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2024-04-18 19:28:07 +0000 |
commit | 950d4a2cb1d5f427dbccf70dbad510479cc4d8e6 (patch) | |
tree | 9991d70c6ff074e92b30a099b8a42ae61aa59818 /src/backend/replication | |
parent | fbed6ebe41beb72d9b7978a414ed4e8515ed1b19 (diff) |
Fix typos and duplicate words
This fixes various typos, duplicated words, and tiny bits of whitespace
mainly in code comments but also in docs.
Author: Daniel Gustafsson <daniel@yesql.se>
Author: Heikki Linnakangas <hlinnaka@iki.fi>
Author: Alexander Lakhin <exclusion@gmail.com>
Author: David Rowley <dgrowleyml@gmail.com>
Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
Diffstat (limited to 'src/backend/replication')
-rw-r--r-- | src/backend/replication/logical/slotsync.c | 2 | ||||
-rw-r--r-- | src/backend/replication/walsender.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/slotsync.c b/src/backend/replication/logical/slotsync.c index bda0de52db9..cb39adcd0ea 100644 --- a/src/backend/replication/logical/slotsync.c +++ b/src/backend/replication/logical/slotsync.c @@ -88,7 +88,7 @@ * overwrites. * * The 'last_start_time' is needed by postmaster to start the slot sync worker - * once per SLOTSYNC_RESTART_INTERVAL_SEC. In cases where a immediate restart + * once per SLOTSYNC_RESTART_INTERVAL_SEC. In cases where an immediate restart * is expected (e.g., slot sync GUCs change), slot sync worker will reset * last_start_time before exiting, so that postmaster can start the worker * without waiting for SLOTSYNC_RESTART_INTERVAL_SEC. diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c index bc40c454de4..9bf7c67f37d 100644 --- a/src/backend/replication/walsender.c +++ b/src/backend/replication/walsender.c @@ -3493,7 +3493,7 @@ WalSndDone(WalSndSendDataCallback send_data) * Returns the latest point in WAL that has been safely flushed to disk. * This should only be called when in recovery. * - * This is called either by cascading walsender to find WAL postion to be sent + * This is called either by cascading walsender to find WAL position to be sent * to a cascaded standby or by slot synchronization operation to validate remote * slot's lsn before syncing it locally. * |