Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Korotkov2024-09-17 19:50:43 +0000
committerAlexander Korotkov2024-09-17 19:50:43 +0000
commit85b98b8d5a48092acd03db76a8bf02d9c38c1d79 (patch)
treeb9c5655fd57c7c75b05356104dadc7ce16d54001 /src/backend/commands/waitlsn.c
parentd8adfc18bebfb1b69b456a00e67453775a77f594 (diff)
Minor cleanup related to pg_wal_replay_wait() procedure
* Rename $node_standby1 to $node_standby in 043_wal_replay_wait.pl as there is only one standby. * Remove useless debug printing in 043_wal_replay_wait.pl. * Fix typo in one check description in 043_wal_replay_wait.pl. * Fix some wording in comments and documentation. Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/1d7b08f2-64a2-77fb-c666-c9a74c68eeda%40gmail.com Reviewed-by: Alexander Lakhin
Diffstat (limited to 'src/backend/commands/waitlsn.c')
-rw-r--r--src/backend/commands/waitlsn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/waitlsn.c b/src/backend/commands/waitlsn.c
index d7065726749..ffa83a20008 100644
--- a/src/backend/commands/waitlsn.c
+++ b/src/backend/commands/waitlsn.c
@@ -299,7 +299,7 @@ WaitForLSNReplay(XLogRecPtr targetLSN, int64 timeout)
/*
* If the timeout value is specified, calculate the number of
* milliseconds before the timeout. Exit if the timeout is already
- * achieved.
+ * reached.
*/
if (timeout > 0)
{
@@ -325,7 +325,7 @@ WaitForLSNReplay(XLogRecPtr targetLSN, int64 timeout)
deleteLSNWaiter();
/*
- * If we didn't achieve the target LSN, we must be exited by timeout.
+ * If we didn't reach the target LSN, we must be exited by timeout.
*/
if (targetLSN > currentLSN)
{