pg.ddx.io pgsql-hackers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
[PATCH v1 1/1] Fix typo about WalSndPrepareWrite 1+ messages / 1 participants [nested] [flat]
* [PATCH v1 1/1] Fix typo about WalSndPrepareWrite @ 2021-01-14 04:23 Japin Li <japinli@hotmail.com> 0 siblings, 0 replies; 1+ messages in thread From: Japin Li @ 2021-01-14 04:23 UTC (permalink / raw) WalSndPrepareWrite function comment uses XLogSendPhysical to fill the sendtime, but it actually done by WalSndWriteData. --- src/backend/replication/walsender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c index fe0d368a35..87bd647338 100644 --- a/src/backend/replication/walsender.c +++ b/src/backend/replication/walsender.c @@ -1243,7 +1243,7 @@ WalSndPrepareWrite(LogicalDecodingContext *ctx, XLogRecPtr lsn, TransactionId xi pq_sendint64(ctx->out, lsn); /* walEnd */ /* - * Fill out the sendtime later, just as it's done in XLogSendPhysical, but + * Fill out the sendtime later, just as it's done in WalSndWriteData, but * reserve space here. */ pq_sendint64(ctx->out, 0); /* sendtime */ -- 2.30.0 --=-=-=-- ^ permalink raw reply [nested|flat] 1+ messages in thread
only message in thread Thread overview: 1+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-01-14 04:23 [PATCH v1 1/1] Fix typo about WalSndPrepareWrite Japin Li <japinli@hotmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox