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 variable name in comment:
s/progress_update/update_progress

---include/server/replication/logical.h
...
35 typedef struct LogicalDecodingContext
36 {
...
68 LogicalOutputPluginWriterUpdateProgress update_progress;

Regards,

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

Attachments:

walsender_update_progress_typo.patchtext/plain; charset=UTF-8; name=walsender_update_progress_typo.patchDownload
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 130ecd5..d46374d 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -1243,7 +1243,7 @@ WalSndWriteData(LogicalDecodingContext *ctx, XLogRecPtr lsn, TransactionId xid,
 }
 
 /*
- * LogicalDecodingContext 'progress_update' callback.
+ * LogicalDecodingContext 'update_progress' callback.
  *
  * Write the current position to the log tracker (see XLogSendPhysical).
  */
#2Robert Haas
robertmhaas@gmail.com
In reply to: atorikoshi (#1)
Re: Fix a typo in walsender.c

On Thu, Feb 8, 2018 at 1:32 AM, atorikoshi
<torikoshi_atsushi_z2@lab.ntt.co.jp> wrote:

Attached a minor patch for variable name in comment:

Committed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

#3atorikoshi
torikoshi_atsushi_z2@lab.ntt.co.jp
In reply to: Robert Haas (#2)
Re: Fix a typo in walsender.c

On 2018/02/09 4:40, Robert Haas wrote:

On Thu, Feb 8, 2018 at 1:32 AM, atorikoshi
<torikoshi_atsushi_z2@lab.ntt.co.jp> wrote:

Attached a minor patch for variable name in comment:

Committed.

Thank you!