Re: [HACKERS] more on int8

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: lockhart(at)alumni(dot)caltech(dot)edu (Thomas G(dot) Lockhart)
Cc: daniel(at)digsys(dot)bg, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] more on int8
Date: 1998-09-10 17:57:13
Message-ID: 199809101757.NAA02624@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > I tried the int8 type under 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.
> > Is there problem to add all functionality that
> > exists for int4 to the int8 type?
>
> int8 is a native built-in type for the next release of Postgres. Would
> you be willing to try beta testing the package and we can work out how
> to support BSD/OS?
>
> It may be that no changes would be necessary for you, since we are now
> using "%lld" for the default printf/scanf formatting string. But you
> would have to try an installation and see if "configure" catches the
> right characteristics of your system. The shared library won't be an
> issue since everything is now built in.

I am running BSD/OS here, and configure recoginizes it with %qd.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-09-10 17:59:47 Re: [HACKERS] open 6.4 items
Previous Message Vadim Mikheev 1998-09-10 17:44:27 Re: [HACKERS] open 6.4 items