RE: [HACKERS] Re: Postgres for Sunos 4.1.4 - Mailing list pgsql-hackers

From Horak Daniel
Subject RE: [HACKERS] Re: Postgres for Sunos 4.1.4
Date
Msg-id 44B484B374B3D211B8A800A024B251712394BE@exchange.mmp.plzen-city.cz
Whole thread Raw
List pgsql-hackers
> I have just rejiggered the int8 support so that it only depends on
> snprintf instead of sprintf and sscanf.  The interesting thing about
> this is that we have our own version of snprintf that we use if the
> platform's C library hasn't got snprintf/vsnprintf --- and our version
> knows about %lld.  So if you have a compiler that offers 
> working 64-bit
> arithmetic, you don't need any help from the C library to 
> make int8 go.

This solution will work also on the Win32 port, beacuse the Cygwin libs
don't have vsscanf that supports 64-bit ints. Great.
        Dan


pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] 6.5 beta and ORDER BY patch
Next
From: Nicolas Prochazka
Date:
Subject: Blob BUG Since 6.4.2