Re: [HACKERS] alpha/64bit weirdness

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: brett(at)work(dot)chicken(dot)org (Brett McCormick)
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] alpha/64bit weirdness
Date: 1998-03-05 04:09:05
Message-ID: 199803050409.XAA04128@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Brett McCormick 1998-03-05 04:58:58 Re: [HACKERS] alpha/64bit weirdness
Previous Message Brett McCormick 1998-03-05 04:00:25 Re: [HACKERS] alpha/64bit weirdness