@@ -574,7 +574,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
574
574
if (symlink (& copybuf [157 ], fn ) != 0 )
575
575
{
576
576
fprintf (stderr ,
577
- _ ("%s: could not create symbolic link from %s to %s : %s\n" ),
577
+ _ ("%s: could not create symbolic link from \"%s\" to \"%s\" : %s\n" ),
578
578
progname , fn , & copybuf [157 ], strerror (errno ));
579
579
disconnect_and_exit (1 );
580
580
}
@@ -659,7 +659,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
659
659
660
660
if (file != NULL )
661
661
{
662
- fprintf (stderr , _ ("%s: last file was never finished\n" ), progname );
662
+ fprintf (stderr , _ ("%s: COPY stream ended before last file was finished\n" ), progname );
663
663
disconnect_and_exit (1 );
664
664
}
665
665
@@ -780,7 +780,7 @@ BaseBackup(void)
780
780
781
781
if (PQsendQuery (conn , current_path ) == 0 )
782
782
{
783
- fprintf (stderr , _ ("%s: could not start base backup: %s" ),
783
+ fprintf (stderr , _ ("%s: could not send base backup command : %s" ),
784
784
progname , PQerrorMessage (conn ));
785
785
disconnect_and_exit (1 );
786
786
}
@@ -876,7 +876,7 @@ BaseBackup(void)
876
876
res = PQgetResult (conn );
877
877
if (PQresultStatus (res ) != PGRES_TUPLES_OK )
878
878
{
879
- fprintf (stderr , _ ("%s: could not get end xlog position from server\n" ),
879
+ fprintf (stderr , _ ("%s: could not get WAL end position from server\n" ),
880
880
progname );
881
881
disconnect_and_exit (1 );
882
882
}
0 commit comments