Re: self-deadlock at FATAL exit of boostrap process on read error
От
Qingqing Zhou
Тема
Re: self-deadlock at FATAL exit of boostrap process on read error
Дата
Msg-id
e684ht$26ss$1@news.hub.org
Список
Дерево обсуждения
Re: self-deadlock at FATAL exit of boostrap process on read error "Qingqing Zhou" <zhouqq@cs.toronto.edu>
Re: self-deadlock at FATAL exit of boostrap process on read error Tom Lane <tgl@sss.pgh.pa.us>
"Tom Lane" wrote
>
> Do you have a test case to reproduce this problem?
>
According to the error message, the problem happens during reading
pg_database. I just tried to plug in this line in mdread():
+ /* pretend there is an error reading pg_database */
+ if (reln->smgr_rnode.relNode == 1262)
+ {
+ fprintf(stderr, "Ooops \n");
+ return false;
+ }
v = _mdfd_getseg(reln, blocknum, false);
And it works.
Regards,
Qingqing
В списке pgsql-hackers по дате отправления