Re: self-deadlock at FATAL exit of boostrap process on read error

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: self-deadlock at FATAL exit of boostrap process on read error
Date: 2006-06-08 03:06:47
Message-ID: e684ht$26ss$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-06-08 03:14:07 Re: ADD/DROP INHERITS
Previous Message Christopher Kings-Lynne 2006-06-08 01:47:07 Re: Snowball and ispell in tsearch2