Re: 64-bit API for large objects - Mailing list pgsql-hackers

From David Fetter
Subject Re: 64-bit API for large objects
Date
Msg-id 20050923223220.GD4164@fetter.org
Whole thread Raw
In response to Re: 64-bit API for large objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 64-bit API for large objects
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ALTER ROLES - questions
Next
From: Oliver Jowett
Date:
Subject: Re: stack depth limit exceeded problem.