"Tom Lane" <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster