Fix typo in code comment - origin.c

Started by Peter Smithover 3 years ago2 messages
#1Peter Smith
smithpb2250@gmail.com
1 attachment(s)

PSA trivial patch to fix some very old comment typo.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachments:

v1-0001-Fix-typo-in-comment.patchapplication/octet-stream; name=v1-0001-Fix-typo-in-comment.patchDownload
From ff006494b11a7e4ed0246300d6e0fe72a7479c04 Mon Sep 17 00:00:00 2001
From: Peter Smith <peter.b.smith@fujitsu.com>
Date: Fri, 6 May 2022 19:16:45 +1000
Subject: [PATCH v1] Fix typo in comment

---
 src/backend/replication/logical/origin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/replication/logical/origin.c b/src/backend/replication/logical/origin.c
index b0c8b6c..21937ab 100644
--- a/src/backend/replication/logical/origin.c
+++ b/src/backend/replication/logical/origin.c
@@ -1059,7 +1059,7 @@ ReplicationOriginExitCleanup(int code, Datum arg)
 
 /*
  * Setup a replication origin in the shared memory struct if it doesn't
- * already exists and cache access to the specific ReplicationSlot so the
+ * already exist and cache access to the specific ReplicationSlot so the
  * array doesn't have to be searched when calling
  * replorigin_session_advance().
  *
-- 
1.8.3.1

#2Michael Paquier
michael@paquier.xyz
In reply to: Peter Smith (#1)
Re: Fix typo in code comment - origin.c

On Fri, May 06, 2022 at 07:25:34PM +1000, Peter Smith wrote:

PSA trivial patch to fix some very old comment typo.

Thanks, fixed.
--
Michael