comment typo - misnamed function
Started by Peter Smithover 4 years ago2 messages
Hi,
PSA patch to fix a misnamed function in a comment.
typo: "DecodePreare" --> "DecodePrepare"
------
Kind Regards,
Peter Smith.
Fujitsu Australia
Attachments:
v1-0001-Fix-typo-misnamed-function-in-comment.patchapplication/octet-stream; name=v1-0001-Fix-typo-misnamed-function-in-comment.patchDownload
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