Re: int8 sequences --- small implementation problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: int8 sequences --- small implementation problem
Date
Msg-id 19902.997818882@sss.pgh.pa.us
Whole thread Raw
In response to int8 sequences --- small implementation problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Jan Wieck <JanWieck@yahoo.com> writes:
>     What I'm asking myself all the time is "which platforms do we
>     support that doesn't have 8-byte  integers?".  Could  someone
>     enlighten me please?

Release a version that doesn't work without 8-byte ints, and I'm sure
we'll find out soon enough ;-).  QNX and MIPS SysVR4 are documented
not to have int8 support in our "supported platforms" list, but we've
not heard from anyone still using 'em for awhile.

Basically, my feeling about it is that it's not ANSI C, and we shouldn't
yet be *requiring* C99 support to build Postgres.

>     And what does int8 do on these platforms?

Acts like int4, except for taking up 8 bytes anyway (because pg_type
says so, not because sizeof() says so).  See c.h.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: Use int8 for int4/int2 aggregate accumulators?
Next
From: "Steve Howe"
Date:
Subject: Retriving users from group ?...