Fix a typo in walsender.c
Started by atorikoshialmost 8 years ago3 messages
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).
*/
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