Re: [HACKERS] main tree is (slightly) damaged - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] main tree is (slightly) damaged
Date
Msg-id 29852.936798151@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] main tree is (slightly) damaged  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> postgres=> select * from pg_tables;
> ERROR:  nodeRead: Bad type 0

> I still see a problem. Did a "make clean install; initdb", as well as
> a clean checkout of the current source tree from cvsup.

Drat.  I was really hoping that you'd just forgotten initdb --- the
parsetree changes I made a couple weeks ago could have explained this,
but not if you initdb'd.

The failure is presumably coming from an attempt to read a stored rule
or default-value clause that's not stored in the format that the read
procedures are expecting.  I'm guessing that there is a node write proc
that's not the inverse of the corresponding node read proc, and you
happen to have a rule or default that has the right kind of node in it
to expose the bug.

Could you burrow in with a debugger and find out more about the rule or
default that's triggering the error?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Stability questions RE 6.5 and 6.3.2 & 6.3.2 problems
Next
From: Lamar Owen
Date:
Subject: PG_UPGRADE status?