Fix a typo in xlogrecovery.c

Started by Bharath Rupireddyalmost 4 years ago2 messages
#1Bharath Rupireddy
bharath.rupireddyforpostgres@gmail.com
1 attachment(s)

Hi,

Attaching a patch to fix a typo in xlogrecovery.c -
s/GetLogReplayRecPtr/GetXLogReplayRecPtr

Regards,
Bharath Rupireddy.

Attachments:

v1-0001-Fix-a-typo-in-xlogrecovery.c.patchapplication/octet-stream; name=v1-0001-Fix-a-typo-in-xlogrecovery.c.patchDownload
From 867a6982b4e3a77ae1a870440411335164267b59 Mon Sep 17 00:00:00 2001
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Date: Thu, 7 Apr 2022 11:47:04 +0000
Subject: [PATCH v1] Fix a typo in xlogrecovery.c

---
 src/backend/access/transam/xlogrecovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/access/transam/xlogrecovery.c b/src/backend/access/transam/xlogrecovery.c
index 54fd10475a..2e555f8573 100644
--- a/src/backend/access/transam/xlogrecovery.c
+++ b/src/backend/access/transam/xlogrecovery.c
@@ -4427,7 +4427,7 @@ GetXLogReplayRecPtr(TimeLineID *replayTLI)
 /*
  * Get position of last applied, or the record being applied.
  *
- * This is different from GetLogReplayRecPtr() in that if a WAL
+ * This is different from GetXLogReplayRecPtr() in that if a WAL
  * record is currently being applied, this includes that record.
  */
 XLogRecPtr
-- 
2.25.1

#2Daniel Gustafsson
daniel@yesql.se
In reply to: Bharath Rupireddy (#1)
Re: Fix a typo in xlogrecovery.c

On 7 Apr 2022, at 13:48, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> wrote:

Attaching a patch to fix a typo in xlogrecovery.c -
s/GetLogReplayRecPtr/GetXLogReplayRecPtr

Applied, thanks.

--
Daniel Gustafsson https://vmware.com/