Skip site navigation (1) Skip section navigation (2)

Re: Second call for platform testing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr>
Cc: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Second call for platform testing
Date: 2001-11-29 18:29:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
"Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr> writes:
>     What modification should be made to to make it include
> SupportDefs.h when testing for int8 uint8 int64 and uint64 size ?

This looks like a bit of a pain.  We're currently using AC_CHECK_SIZEOF
to make those probes, apparently because it's the closest standard macro
to what we want.  But it's not close enough.  It doesn't include
anything except <stdio.h>.  I don't think we can fix this except by
making our own macro.  Peter, any opinion about how to do it?

(If we do make our own macro, we could change the output to be something
more reasonable, like #defining HAVE_UINT8 rather than claiming
"sizeof uint8 = 0", which is sure to confuse people.)

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2001-11-29 18:30:35
Subject: Re: Vacuum
Previous:From: xinDate: 2001-11-29 17:26:36
Subject: How many processes running on the server side?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group