RE: [HACKERS] Re: Postgres for Sunos 4.1.4
Horak Daniel <horak@mmp.plzen-city.cz>
From: Horak Daniel <horak@mmp.plzen-city.cz>
To: "'Tom Lane'" <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Date: 1998-02-07T11:23:07Z
Lists: 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