@@ -277,31 +277,31 @@ stop_streaming(XLogRecPtr xlogpos, uint32 timeline, bool segment_finished)
277
277
{
278
278
XLogSegNo xlog_segno ;
279
279
char wal_segment_name [MAXNAMLEN ];
280
- char wal_segment_relpath [MAXPGPATH ];
280
+ char wal_segment_relpath [MAXPGPATH ];
281
281
char wal_segment_fullpath [MAXPGPATH ];
282
- pgFile * file ;
282
+ pgFile * file = NULL ;
283
283
284
- elog (INFO , _ ("finished segment at %X/%X (timeline %u)" ),
285
- (uint32 ) (xlogpos >> 32 ), (uint32 ) xlogpos , timeline );
284
+ elog (VERBOSE , _ ("finished segment at %X/%X (timeline %u)" ),
285
+ (uint32 ) (xlogpos >> 32 ), (uint32 ) xlogpos , timeline );
286
286
287
287
/* Add streamed xlog file into the backup's list of files */
288
288
if (!xlog_files_list )
289
289
xlog_files_list = parray_new ();
290
290
291
291
GetXLogSegNo (xlogpos , xlog_segno , instance_config .xlog_seg_size );
292
292
293
- /* xlogpos points to the current segment, and we need the finished - previous one */
294
- xlog_segno -- ;
293
+ /* xlogpos points to the current segment, and we need the finished - previous one */
294
+ xlog_segno -- ;
295
295
GetXLogFileName (wal_segment_name , timeline , xlog_segno ,
296
296
instance_config .xlog_seg_size );
297
297
298
298
join_path_components (wal_segment_fullpath ,
299
299
stream_thread_arg .basedir , wal_segment_name );
300
300
301
- join_path_components (wal_segment_relpath ,
301
+ join_path_components (wal_segment_relpath ,
302
302
PG_XLOG_DIR , wal_segment_name );
303
303
304
- /* append file to filelist */
304
+ /* append file to filelist */
305
305
file = pgFileNew (wal_segment_fullpath , wal_segment_relpath , false, 0 , FIO_BACKUP_HOST );
306
306
file -> name = file -> rel_path ;
307
307
file -> crc = pgFileGetCRC (wal_segment_fullpath , true, false);
0 commit comments