RE: [HACKERS] Re: Postgres for Sunos 4.1.4

From: Horak Daniel <horak(at)mmp(dot)plzen-city(dot)cz>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: RE: [HACKERS] Re: Postgres for Sunos 4.1.4
Date: 1998-02-07 11:23:07
Message-ID: 44B484B374B3D211B8A800A024B251712394BE@exchange.mmp.plzen-city.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-02-07 15:28:58 Re: Majordomo results: Re: [HACKERS] Bug? (fwd)
Previous Message Bruce Momjian 1998-02-07 06:09:22 Re: AW: [HACKERS] Re: atttypmod of 0