Re: 64-bit API for large objects

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: 64-bit API for large objects
Дата
Msg-id 20050923223220.GD4164@fetter.org
обсуждение исходный текст
Ответ на Re: 64-bit API for large objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 64-bit API for large objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Sep 23, 2005 at 05:40:09PM -0400, Tom Lane wrote:
> Jeremy Drake <pgsql@jdrake.com> writes:
> 
> The real problem here is that int64 isn't a well-defined portable
> datatype, and so it's going to be very hard to export these
> functions in a way that won't break on different platforms,
> applications compiled with a different compiler than libpq was, etc.
> 
> For that matter, we can't even guarantee that they work at all: not
> all platforms even *have* int64 types.  We have so far avoided
> putting any fundamental dependencies on int64 arithmetic into the
> system, and I'm a bit worried that this patch will break LO support
> entirely on platforms that don't have working int64 arithmetic.

What platforms that PG supports don't have int64 arithmetic?

Cheers,
D
-- 
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ALTER ROLES - questions
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: stack depth limit exceeded problem.