Skip to content

Commit fce3b92

Browse files
author
Konstantin Knizhnik
committed
Add backtrace to SLRU error reporting
1 parent 5abac3c commit fce3b92

File tree

1 file changed

+2
-1
lines changed
  • src/backend/access/transam

1 file changed

+2
-1
lines changed

src/backend/access/transam/slru.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,8 @@ SlruReportIOError(SlruCtl ctl, int pageno, TransactionId xid)
10291029
ereport(ERROR,
10301030
(errcode_for_file_access(),
10311031
errmsg("could not access status of transaction %u", xid),
1032-
errdetail("Could not open file \"%s\": %m.", path)));
1032+
errdetail("Could not open file \"%s\": %m.", path),
1033+
errbacktrace()));
10331034
break;
10341035
case SLRU_SEEK_FAILED:
10351036
ereport(ERROR,

0 commit comments

Comments
 (0)