more on int8 - Mailing list pgsql-hackers

From Daniel Kalchev
Subject more on int8
Date
Msg-id 199809101523.SAA00580@dcave.digsys.bg
Whole thread Raw
Responses Re: [HACKERS] more on int8
List pgsql-hackers
owner-pgsql-hackers-digest@hub.org said:
> > the long long int printf format in int8.h is %lld on AIX
> This is on my list. %lld will work with gcc also, so since we don't
> have very many reported successful ports for int8, we should just
> change it for now.

Tom,

I tried the int8 type onder BSD/OS, running 6.3.2 (contrib/int8). There the
%Ld type is unimplemented and %lld or %qd both work.

For BSD/OS 3.1, since DLSUFFIX is .o (static shared libraries), there is a
circular dependence in the Makefile. This is resolved by commenting out (or
ifdefing) the following segment:

int8$(DLSUFFIX):       int8.o
       $(CC) -shared -o int8$(DLSUFFIX) int8.o $(CLIBS)

Under BSD/OS 4.0 this should not be neccesary, as it supports Linux style
shared libraries.

I am missing the aggregate functions, such as sum() to deal with int8. Perhaps
these could be easily added? Is there problem to add all functionality that
exists for int4 to the int8 type?

Daniel


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] fix for libpq choking on varlen fields
Next
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] open 6.4 items