Fix a typo in walsender.c

Started by atorikoshialmost 8 years ago3 messages
#1atorikoshi
torikoshi_atsushi_z2@lab.ntt.co.jp
1 attachment(s)

Hi,

Attached a minor patch for a typo: s/log/lag

Regards,

--
Atsushi Torikoshi
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachments:

walsender_WalSndUpdateProgress.patchtext/plain; charset=UTF-8; name=walsender_WalSndUpdateProgress.patchDownload
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index d46374d..8bb1919 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -1245,7 +1245,7 @@ WalSndWriteData(LogicalDecodingContext *ctx, XLogRecPtr lsn, TransactionId xid,
 /*
  * LogicalDecodingContext 'update_progress' callback.
  *
- * Write the current position to the log tracker (see XLogSendPhysical).
+ * Write the current position to the lag tracker (see XLogSendPhysical).
  */
 static void
 WalSndUpdateProgress(LogicalDecodingContext *ctx, XLogRecPtr lsn, TransactionId xid)
#2Bruce Momjian
bruce@momjian.us
In reply to: atorikoshi (#1)
Re: Fix a typo in walsender.c

On Tue, Feb 27, 2018 at 07:22:20PM +0900, atorikoshi wrote:

Hi,

Attached a minor patch for a typo: s/log/lag

Regards,

--
Atsushi Torikoshi
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index d46374d..8bb1919 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -1245,7 +1245,7 @@ WalSndWriteData(LogicalDecodingContext *ctx, XLogRecPtr lsn, TransactionId xid,
/*
* LogicalDecodingContext 'update_progress' callback.
*
- * Write the current position to the log tracker (see XLogSendPhysical).
+ * Write the current position to the lag tracker (see XLogSendPhysical).
*/
static void
WalSndUpdateProgress(LogicalDecodingContext *ctx, XLogRecPtr lsn, TransactionId xid)

Thanks, patch applied.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +
#3atorikoshi
torikoshi_atsushi_z2@lab.ntt.co.jp
In reply to: Bruce Momjian (#2)
Re: Fix a typo in walsender.c

On 2018/03/29 7:23, Bruce Momjian wrote:

Thanks, patch applied.

Thank you for committing!