Re: Proposal: More portable way to support 64bit platforms

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: More portable way to support 64bit platforms
Дата
Msg-id 11618.1246285209@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal: More portable way to support 64bit platforms  (Tsutomu Yamada <tsutomu@sraoss.co.jp>)
Ответы Re: Proposal: More portable way to support 64bit platforms  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tsutomu Yamada <tsutomu@sraoss.co.jp> writes:
> Yes, I have read through the discusion but it seems somewhat faded
> out. This is because no platform other than Windows has 64bit
> pointer issues IMO. I think using intptr_t is cleaner and will bring
> more portability. Moreover it will solve Windows 64bit pointer issues,
> I believe.

The problem with this is that it's barely the tip of the iceberg.
One point I recall is that there are lots of places where "%lu" is
assumed to be the correct format to print Datums with.  If it were
actually possible to support Win64 with only a couple of dozen lines
of changes, we would have done it long since.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Query progress indication - an implementation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] user mapping extension to pg_ident.conf