From ab62325b14034c85ea4f425b5e36c4b0a845f2da Mon Sep 17 00:00:00 2001
From: Peter Smith <peter.b.smith@fujitsu.com>
Date: Mon, 26 Apr 2021 12:23:13 +1000
Subject: [PATCH v1] Fix typo misnamed function in comment

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

diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c
index 5cb484f..5f8907b 100644
--- a/src/backend/replication/logical/reorderbuffer.c
+++ b/src/backend/replication/logical/reorderbuffer.c
@@ -1867,7 +1867,7 @@ ReorderBufferStreamCommit(ReorderBuffer *rb, ReorderBufferTXN *txn)
  * to truncate the changes in the subscriber. Similarly, for prepared
  * transactions, we stop decoding if concurrent abort is detected and then
  * rollback the changes when rollback prepared is encountered. See
- * DecodePreare.
+ * DecodePrepare.
  */
 static inline void
 SetupCheckXidLive(TransactionId xid)
-- 
1.8.3.1

