error report on slru.c
| От | Gaetano Mendola |
|---|---|
| Тема | error report on slru.c |
| Дата | |
| Msg-id | cjlsn4$kc6$1@floppy.pyrenet.fr обсуждение исходный текст |
| Ответы |
Re: error report on slru.c
|
| Список | pgsql-patches |
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,
В списке pgsql-patches по дате отправления: