Re: [HACKERS] int 8 on FreeBSD

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: The Hermit Hacker <scrappy(at)hub(dot)org>, Holm Tiffe <holm(at)freibergnet(dot)de>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] int 8 on FreeBSD
Date: 1999-03-03 14:49:20
Message-ID: 36DD4BF0.1B848E97@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > While compiling of 6.4.2 I've realized that int8's are not supported
> > on FreeBSD by default. The Configure script looks if %ld or %lld
> > will do the job but FreeBSD is using %qd as the long long int
> > format.
> > After a little fiddeling around with the configure script and
> > include/utils/int8.h, I've got the int8 type working.
> > Since I've read somtimes in this Mailinglists, that FreeBSD is one
> > of the development platforms for PostgreSQL, I wonder why PGSQL
> > doesn't support FreeBSD's own format ...

I had originally coded in %qd for some platforms, but *strongly* recall
that those platforms which supported %qd also supported %lld, so we
removed the %qd variant.

If int8 really doesn't work on FreeBSD, shame on the FreeBSDers for not
bringing it up earlier. But, it can't be that simple. If it *really*
doesn't work on FreeBSD, could it be related to relatively recent
changes in compilers or libraries (or are you running an old version of
FreeBSD)?

scrappy, can you take a look at this on your platform?

- Tom

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Holm Tiffe 1999-03-03 14:54:38 Re: [HACKERS] int 8 on FreeBSD
Previous Message Thomas G. Lockhart 1999-03-03 14:41:36 Re: [COMMITTERS] 'pgsql/src/backend/parser parse.h gram.c'