Re: [HACKERS] int 8 on FreeBSD

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

Thomas G. Lockhart wrote:

> > > 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.

The regression test means it is, and this is possibly the reason why it
isn't fixed jet :-)

> 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)?

No, this is my development box:

4.0-CURRENT FreeBSD 4.0-CURRENT #6: Mon Mar 1 12:55:03 CET 1999

It is a very current system, but I've stumbled over this some time
bevore (int8 was a contrib package this times)

Holm
--
FreibergNet Systemhaus GbR Holm Tiffe * Administration, Development
Systemhaus für Daten- und Netzwerktechnik phone +49 3731 781279
Unternehmensgruppe Liebscher & Partner fax +49 3731 781377
D-09599 Freiberg * Am St. Niclas Schacht 13 http://www.freibergnet.de/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-03-03 15:08:13 Re: [COMMITTERS] 'pgsql/src/backend/parser parse.h gram.c'
Previous Message Holm Tiffe 1999-03-03 14:54:38 Re: [HACKERS] int 8 on FreeBSD