Re: type casting troubles - Mailing list pgsql-hackers

From Tom Lane
Subject Re: type casting troubles
Date
Msg-id 1196.1000955976@sss.pgh.pa.us
Whole thread Raw
In response to type casting troubles  (Thomas Lockhart <lockhart@fourpalms.org>)
List pgsql-hackers
Thomas Lockhart <lockhart@fourpalms.org> writes:
> #2  0x806cb34 in TupleDescInitEntry (desc=0x82d6304, attributeNumber=1, 
>     attributeName=0x1f8 <Address 0x1f8 out of bounds>, oidtypeid=1184,
> typmod=-1, attdim=0, 
>     attisset=0 '\000') at tupdesc.c:365

This appears to indicate that you have a Resdom node with an invalid
resname field.  Seems like that wouldn't be a datatype-specific issue
at all.  Have you changed the handling of cast() nodes?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Returning NULL from functions
Next
From: Tom Lane
Date:
Subject: Re: Returning NULL from functions