Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdbc6fcf

Browse files
committed
Set the write location in the pg_receivexlog status messages
This makes it possible for the master to track how much data hasactually been written my pg_receivexlog - and not just how muchhas been sent towards it.
1 parent0c4b468 commitdbc6fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_basebackup/receivelog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline, char *sysi
359359
charreplybuf[sizeof(StandbyReplyMessage)+1];
360360
StandbyReplyMessage*replymsg= (StandbyReplyMessage*) (replybuf+1);
361361

362-
replymsg->write=InvalidXLogRecPtr;
362+
replymsg->write=blockpos;
363363
replymsg->flush=InvalidXLogRecPtr;
364364
replymsg->apply=InvalidXLogRecPtr;
365365
replymsg->sendTime=now;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp