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

From Bruce Momjian
Subject Re: [HACKERS] dec alpha/64bit stuff
Date
Msg-id 199803070606.BAA03137@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] dec alpha/64bit stuff  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
> I predict that if you pump up attypmod to a 32 bit field your problems
> will go away. I'll bet that the page is being read off of disk and the
> struct is memcpy'd (or something similar) into it, rather than being
> copied field-by-field. The struct internal alignments are off for the
> Alpha, which will pad structs to get the optimal access alignment.

Ooooh, good guess.  Can't wait to hear if it is correct.

--
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: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] dec alpha/64bit stuff
Next
From: Goran Thyni
Date:
Subject: Re: [QUESTIONS] Error: ComputeDataSize