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

Commitc02767d

Browse files
committed
Remove unused parameter
Apparently, this was never used whenintroduced (3dad73e).Discussion:https://www.postgresql.org/message-id/flat/511bb100-f829-ba21-2f10-9f952ec06ead%402ndquadrant.com
1 parentbeff361 commitc02767d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎src/bin/pg_basebackup/receivelog.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ static bool ProcessXLogDataMsg(PGconn *conn, StreamCtl *stream, char *copybuf, i
4646
XLogRecPtr*blockpos);
4747
staticPGresult*HandleEndOfCopyStream(PGconn*conn,StreamCtl*stream,char*copybuf,
4848
XLogRecPtrblockpos,XLogRecPtr*stoppos);
49-
staticboolCheckCopyStreamStop(PGconn*conn,StreamCtl*stream,XLogRecPtrblockpos,
50-
XLogRecPtr*stoppos);
49+
staticboolCheckCopyStreamStop(PGconn*conn,StreamCtl*stream,XLogRecPtrblockpos);
5150
staticlongCalculateCopyStreamSleeptime(TimestampTznow,intstandby_message_timeout,
5251
TimestampTzlast_status);
5352

@@ -747,7 +746,7 @@ HandleCopyStream(PGconn *conn, StreamCtl *stream,
747746
/*
748747
* Check if we should continue streaming, or abort at this point.
749748
*/
750-
if (!CheckCopyStreamStop(conn,stream,blockpos,stoppos))
749+
if (!CheckCopyStreamStop(conn,stream,blockpos))
751750
gotoerror;
752751

753752
now=feGetCurrentTimestamp();
@@ -825,7 +824,7 @@ HandleCopyStream(PGconn *conn, StreamCtl *stream,
825824
* Check if we should continue streaming, or abort at this
826825
* point.
827826
*/
828-
if (!CheckCopyStreamStop(conn,stream,blockpos,stoppos))
827+
if (!CheckCopyStreamStop(conn,stream,blockpos))
829828
gotoerror;
830829
}
831830
else
@@ -1203,8 +1202,7 @@ HandleEndOfCopyStream(PGconn *conn, StreamCtl *stream, char *copybuf,
12031202
* Check if we should continue streaming, or abort at this point.
12041203
*/
12051204
staticbool
1206-
CheckCopyStreamStop(PGconn*conn,StreamCtl*stream,XLogRecPtrblockpos,
1207-
XLogRecPtr*stoppos)
1205+
CheckCopyStreamStop(PGconn*conn,StreamCtl*stream,XLogRecPtrblockpos)
12081206
{
12091207
if (still_sending&&stream->stream_stop(blockpos,stream->timeline, false))
12101208
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp