Re: [HACKERS] int 8 on FreeBSD

Поиск
Список
Период
Сортировка
От Holm Tiffe
Тема Re: [HACKERS] int 8 on FreeBSD
Дата
Msg-id 19990303160524.B21308@pegasus.freibergnet.de
обсуждение исходный текст
Ответ на Re: [HACKERS] int 8 on FreeBSD  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Список 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/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Holm Tiffe
Дата:
Сообщение: Re: [HACKERS] int 8 on FreeBSD
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] 'pgsql/src/backend/parser parse.h gram.c'