Hi all,
here a patch that
1) Rise the information about the file missing on pg_clog from
   detail to error
2) Insert the offset information also for a missing file


I did it with the 8.0beta2 sources





Regards
Gaetano Mendola


--- slru.c.orig 2004-10-02 10:56:01.000000000 +0200
+++ slru.c      2004-10-02 11:05:40.000000000 +0200
@@ -634,9 +634,8 @@
                case SLRU_OPEN_FAILED:
                        ereport(ERROR,
                                        (errcode_for_file_access(),
-                               errmsg("could not access status of transaction %u", 
xid),
-                                        errdetail("could not open file \"%s\": %m",
-                                                          path)));
+                               errmsg("could not access status of transaction %u"
+                       "could not open file \"%s\": %m ( offset %u ) ", xid, path, 
offset)));
                        break;
                case SLRU_CREATE_FAILED:
                        ereport(ERROR,
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to