Re: Re: Call for platforms

Поиск
Список
Период
Сортировка
От Mark Knox
Тема Re: Re: Call for platforms
Дата
Msg-id 5.0.2.1.0.20010328205126.009ea190@core.hardline.org
обсуждение исходный текст
Ответ на Re: Re: Call for platforms  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: Call for platforms  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At 12:27 AM 3/28/01 -0500, Tom Lane wrote:

>That would fix it for ARM but not for anyplace else with similar
>alignment behavior.  Would you try this patch instead to see what
>happens?

I don't think this solution would be valid on many other platforms. It forces the structure to not be padded, and
assumesthat the cpu will be able to fetch from unaligned boundaries. The only reason this works is that the arm linux
kernelcontains an alignment trap handler that catches the fault and does a fixup on the access. Otherwise it would
crashwith SIGBUS.
 

>  static FormData_pg_attribute a1 = {
>!       0xffffffff, {"ctid"}, TIDOID, 0, SizeOfIptrData,
>        SelfItemPointerAttributeNumber, 0, -1, -1, '\0', 'p', '\0', 'i', '\0', '\0'
>  }; 

Well, this patch seems to produce attlens of 6 as desired, but it causes many (13) of the regression tests to fail. Do
youwant to see the regression.diffs? 
 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mathijs Brands
Дата:
Сообщение: Re: Re: [PORTS] pgmonitor and Solaris
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Call for platforms