@@ -372,8 +372,7 @@ check_data_directory(const char *datadir)
372372 if (errno == ENOENT )
373373 pg_fatal ("data directory \"%s\" does not exist" , datadir );
374374 else
375- pg_fatal ("could not access directory \"%s\": %s" , datadir ,
376- strerror (errno ));
375+ pg_fatal ("could not access directory \"%s\": %m" , datadir );
377376 }
378377
379378 snprintf (versionfile , MAXPGPATH , "%s/PG_VERSION" , datadir );
@@ -684,7 +683,7 @@ generate_object_name(PGconn *conn)
684683
685684 if (PQntuples (res ) != 1 )
686685 {
687- pg_log_error ("could not obtain database OID: got %d rows, expected %d rows " ,
686+ pg_log_error ("could not obtain database OID: got %d rows, expected %d row " ,
688687 PQntuples (res ), 1 );
689688 disconnect_database (conn , true);
690689 }
@@ -920,7 +919,7 @@ check_publisher(const struct LogicalRepInfo *dbinfo)
920919
921920 if (strcmp (wal_level , "logical" ) != 0 )
922921 {
923- pg_log_error ("publisher requires wal_level >= logical" );
922+ pg_log_error ("publisher requires wal_level >= \" logical\" " );
924923 failed = true;
925924 }
926925
@@ -1649,7 +1648,7 @@ set_replication_progress(PGconn *conn, const struct LogicalRepInfo *dbinfo, cons
16491648
16501649 if (PQntuples (res ) != 1 && !dry_run )
16511650 {
1652- pg_log_error ("could not obtain subscription OID: got %d rows, expected %d rows " ,
1651+ pg_log_error ("could not obtain subscription OID: got %d rows, expected %d row " ,
16531652 PQntuples (res ), 1 );
16541653 disconnect_database (conn , true);
16551654 }
0 commit comments