mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Remove unused parameter
Apparently, this was never used when
introduced (3dad73e71f).
Discussion: https://www.postgresql.org/message-id/flat/511bb100-f829-ba21-2f10-9f952ec06ead%402ndquadrant.com
			
			
This commit is contained in:
		| @@ -46,8 +46,7 @@ static bool ProcessXLogDataMsg(PGconn *conn, StreamCtl *stream, char *copybuf, i | ||||
| 							   XLogRecPtr *blockpos); | ||||
| static PGresult *HandleEndOfCopyStream(PGconn *conn, StreamCtl *stream, char *copybuf, | ||||
| 									   XLogRecPtr blockpos, XLogRecPtr *stoppos); | ||||
| static bool CheckCopyStreamStop(PGconn *conn, StreamCtl *stream, XLogRecPtr blockpos, | ||||
| 								XLogRecPtr *stoppos); | ||||
| static bool CheckCopyStreamStop(PGconn *conn, StreamCtl *stream, XLogRecPtr blockpos); | ||||
| static long CalculateCopyStreamSleeptime(TimestampTz now, int standby_message_timeout, | ||||
| 										 TimestampTz last_status); | ||||
|  | ||||
| @@ -747,7 +746,7 @@ HandleCopyStream(PGconn *conn, StreamCtl *stream, | ||||
| 		/* | ||||
| 		 * Check if we should continue streaming, or abort at this point. | ||||
| 		 */ | ||||
| 		if (!CheckCopyStreamStop(conn, stream, blockpos, stoppos)) | ||||
| 		if (!CheckCopyStreamStop(conn, stream, blockpos)) | ||||
| 			goto error; | ||||
|  | ||||
| 		now = feGetCurrentTimestamp(); | ||||
| @@ -825,7 +824,7 @@ HandleCopyStream(PGconn *conn, StreamCtl *stream, | ||||
| 				 * Check if we should continue streaming, or abort at this | ||||
| 				 * point. | ||||
| 				 */ | ||||
| 				if (!CheckCopyStreamStop(conn, stream, blockpos, stoppos)) | ||||
| 				if (!CheckCopyStreamStop(conn, stream, blockpos)) | ||||
| 					goto error; | ||||
| 			} | ||||
| 			else | ||||
| @@ -1203,8 +1202,7 @@ HandleEndOfCopyStream(PGconn *conn, StreamCtl *stream, char *copybuf, | ||||
|  * Check if we should continue streaming, or abort at this point. | ||||
|  */ | ||||
| static bool | ||||
| CheckCopyStreamStop(PGconn *conn, StreamCtl *stream, XLogRecPtr blockpos, | ||||
| 					XLogRecPtr *stoppos) | ||||
| CheckCopyStreamStop(PGconn *conn, StreamCtl *stream, XLogRecPtr blockpos) | ||||
| { | ||||
| 	if (still_sending && stream->stream_stop(blockpos, stream->timeline, false)) | ||||
| 	{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user