@@ -949,32 +949,32 @@ SlruReportIOError(SlruCtl ctl, int pageno, TransactionId xid)
949
949
ereport (ERROR ,
950
950
(errcode_for_file_access (),
951
951
errmsg ("could not access status of transaction %u" , xid ),
952
- errdetail ("Could not seek in file \"%s\" to offset %u : %m." ,
952
+ errdetail ("Could not seek in file \"%s\" to offset %d : %m." ,
953
953
path , offset )));
954
954
break ;
955
955
case SLRU_READ_FAILED :
956
956
if (errno )
957
957
ereport (ERROR ,
958
958
(errcode_for_file_access (),
959
959
errmsg ("could not access status of transaction %u" , xid ),
960
- errdetail ("Could not read from file \"%s\" at offset %u : %m." ,
960
+ errdetail ("Could not read from file \"%s\" at offset %d : %m." ,
961
961
path , offset )));
962
962
else
963
963
ereport (ERROR ,
964
964
(errmsg ("could not access status of transaction %u" , xid ),
965
- errdetail ("Could not read from file \"%s\" at offset %u : read too few bytes." , path , offset )));
965
+ errdetail ("Could not read from file \"%s\" at offset %d : read too few bytes." , path , offset )));
966
966
break ;
967
967
case SLRU_WRITE_FAILED :
968
968
if (errno )
969
969
ereport (ERROR ,
970
970
(errcode_for_file_access (),
971
971
errmsg ("could not access status of transaction %u" , xid ),
972
- errdetail ("Could not write to file \"%s\" at offset %u : %m." ,
972
+ errdetail ("Could not write to file \"%s\" at offset %d : %m." ,
973
973
path , offset )));
974
974
else
975
975
ereport (ERROR ,
976
976
(errmsg ("could not access status of transaction %u" , xid ),
977
- errdetail ("Could not write to file \"%s\" at offset %u : wrote too few bytes." ,
977
+ errdetail ("Could not write to file \"%s\" at offset %d : wrote too few bytes." ,
978
978
path , offset )));
979
979
break ;
980
980
case SLRU_FSYNC_FAILED :
0 commit comments