@@ -217,18 +217,18 @@ progress_report(int tablespacenum, char *fn)
217
217
* call)
218
218
*/
219
219
fprintf (stderr ,
220
- INT64_FORMAT "/" INT64_FORMAT " kB (100%%) %i/%i tablespaces %35s\r" ,
220
+ INT64_FORMAT "/" INT64_FORMAT " kB (100%%) %d/%d tablespaces %35s\r" ,
221
221
totaldone /1024 ,totalsize ,
222
222
tablespacenum ,tablespacecount ,"" );
223
223
else
224
224
fprintf (stderr ,
225
- INT64_FORMAT "/" INT64_FORMAT " kB (%i %%) %i/%i tablespaces (%-30.30s)\r" ,
225
+ INT64_FORMAT "/" INT64_FORMAT " kB (%d %%) %d/%d tablespaces (%-30.30s)\r" ,
226
226
totaldone /1024 ,totalsize ,
227
227
percent ,
228
228
tablespacenum ,tablespacecount ,fn );
229
229
}
230
230
else
231
- fprintf (stderr ,INT64_FORMAT "/" INT64_FORMAT " kB (%i %%) %i/%i tablespaces\r" ,
231
+ fprintf (stderr ,INT64_FORMAT "/" INT64_FORMAT " kB (%d %%) %d/%d tablespaces\r" ,
232
232
totaldone /1024 ,totalsize ,
233
233
percent ,
234
234
tablespacenum ,tablespacecount );
@@ -269,7 +269,7 @@ ReceiveTarFile(PGconn *conn, PGresult *res, int rownum)
269
269
ztarfile = gzdopen (dup (fileno (stdout )),"wb" );
270
270
if (gzsetparams (ztarfile ,compresslevel ,Z_DEFAULT_STRATEGY )!= Z_OK )
271
271
{
272
- fprintf (stderr ,_ ("%s: could not set compression level %i : %s\n" ),
272
+ fprintf (stderr ,_ ("%s: could not set compression level %d : %s\n" ),
273
273
progname ,compresslevel ,get_gz_error (ztarfile ));
274
274
disconnect_and_exit (1 );
275
275
}
@@ -287,7 +287,7 @@ ReceiveTarFile(PGconn *conn, PGresult *res, int rownum)
287
287
ztarfile = gzopen (fn ,"wb" );
288
288
if (gzsetparams (ztarfile ,compresslevel ,Z_DEFAULT_STRATEGY )!= Z_OK )
289
289
{
290
- fprintf (stderr ,_ ("%s: could not set compression level %i : %s\n" ),
290
+ fprintf (stderr ,_ ("%s: could not set compression level %d : %s\n" ),
291
291
progname ,compresslevel ,get_gz_error (ztarfile ));
292
292
disconnect_and_exit (1 );
293
293
}
@@ -311,7 +311,7 @@ ReceiveTarFile(PGconn *conn, PGresult *res, int rownum)
311
311
ztarfile = gzopen (fn ,"wb" );
312
312
if (gzsetparams (ztarfile ,compresslevel ,Z_DEFAULT_STRATEGY )!= Z_OK )
313
313
{
314
- fprintf (stderr ,_ ("%s: could not set compression level %i : %s\n" ),
314
+ fprintf (stderr ,_ ("%s: could not set compression level %d : %s\n" ),
315
315
progname ,compresslevel ,get_gz_error (ztarfile ));
316
316
disconnect_and_exit (1 );
317
317
}
@@ -533,7 +533,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
533
533
*/
534
534
if (r != 512 )
535
535
{
536
- fprintf (stderr ,_ ("%s: invalid tar block header size: %i \n" ),
536
+ fprintf (stderr ,_ ("%s: invalid tar block header size: %d \n" ),
537
537
progname ,r );
538
538
disconnect_and_exit (1 );
539
539
}
@@ -870,7 +870,7 @@ BaseBackup(void)
870
870
*/
871
871
if (format == 't' && strcmp (basedir ,"-" )== 0 && PQntuples (res )> 1 )
872
872
{
873
- fprintf (stderr ,_ ("%s: can only write single tablespace to stdout, database has %i \n" ),
873
+ fprintf (stderr ,_ ("%s: can only write single tablespace to stdout, database has %d \n" ),
874
874
progname ,PQntuples (res ));
875
875
disconnect_and_exit (1 );
876
876
}