>
>
> Why would the atttypmod affect anything before it in the struct? I
> have verified that everything is shifted over for bytes, but that
> would lead be to beleive that somewhere the length of the first
> attribute (Oid) is being miscalculated? Where would the code write to
> this data structure without using a pointer to actual struct for
> obtaining the correct memory structure? I checked for offsetof macro
> calls that might cause this effect, to no avail..
>
> We're a lot closer, though.. right?
I think your dump tells up something. Can you put a beak on the failure
line, then do a backtrace after the elog(), and start putting breaks in
the functions called on that structure, and see if we can find how that
relation name is getting messed up.
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)