Re: [HACKERS] alpha/64bit weirdness - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] alpha/64bit weirdness
Date
Msg-id 199803050409.XAA04128@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] alpha/64bit weirdness  (Brett McCormick <brett@work.chicken.org>)
Responses Re: [HACKERS] alpha/64bit weirdness
List pgsql-hackers
>
>
> 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)

pgsql-hackers by date:

Previous
From: Brett McCormick
Date:
Subject: Re: [HACKERS] alpha/64bit weirdness
Next
From: Brett McCormick
Date:
Subject: Re: [HACKERS] alpha/64bit weirdness