Lists: | pgsql-hackerspgsql-patches |
---|
From: | "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at> |
---|---|
To: | "Tatsuo Ishii" <t-ishii(at)sra(dot)co(dot)jp>, <peter_e(at)gmx(dot)net> |
Cc: | <pgsql-hackers(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Open Items (was: RE: [HACKERS] Beta going well) |
Date: | 2001-11-15 08:33:10 |
Message-ID: | 46C15C39FEB2C44BA555E356FBCD6FA42127F0@m0114.s-mxs.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers Postg사설 토토SQL |
New patch for open item: AIX compile (Peter E, Zeugswetter)
(applies to today's snapshot)
I now have a working autoconf, and was thus able to confirm, that
Peter's SIZEOF_INT8 check works correctly on AIX.
Please apply this patch before beta3, and please someone check BEOS
which is also affected.
Thank you Peter
Andreas
Attachment | Content-Type | Size |
---|---|---|
int8-newpatch | application/octet-stream | 3.8 KB |
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at> |
Cc: | "Tatsuo Ishii" <t-ishii(at)sra(dot)co(dot)jp>, peter_e(at)gmx(dot)net, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Open Items (was: RE: [HACKERS] Beta going well) |
Date: | 2001-11-15 16:01:07 |
Message-ID: | 12532.1005840067@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers Postg스포츠 토토 결과SQL |
"Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at> writes:
/* Plain "long int" fits, use it */
+ #if SIZEOF_INT8 == 0
typedef long int int64;
+ #endif
+ #if SIZEOF_UINT8 == 0
typedef unsigned long int uint64;
+ #endif
This coding appears to assume "if the platform defines int8, then
it will define int64 as well". Seems mighty fragile to me.
regards, tom lane
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at> |
Cc: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, <pgsql-hackers(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Open Items (was: RE: [HACKERS] Beta going well) |
Date: | 2001-11-15 16:14:19 |
Message-ID: | Pine.LNX.4.30.0111151427180.633-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Zeugswetter Andreas SB SD writes:
> New patch for open item: AIX compile (Peter E, Zeugswetter)
> (applies to today's snapshot)
>
> I now have a working autoconf, and was thus able to confirm, that
> Peter's SIZEOF_INT8 check works correctly on AIX.
I'm confused a bit: In the previous message you added a check for uint64,
in this version you removed the u?int64 checks completely. I suppose it
doesn't matter, but is there a reason?
--
Peter Eisentraut peter_e(at)gmx(dot)net
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at> |
Cc: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, peter_e(at)gmx(dot)net, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Open Items (was: RE: [HACKERS] Beta going well) |
Date: | 2001-11-15 16:14:46 |
Message-ID: | 200111151614.fAFGEkh01099@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
> New patch for open item: AIX compile (Peter E, Zeugswetter)
> (applies to today's snapshot)
>
> I now have a working autoconf, and was thus able to confirm, that
> Peter's SIZEOF_INT8 check works correctly on AIX.
>
> Please apply this patch before beta3, and please someone check BEOS
> which is also affected.
The only problem I have now is that odbc/md5.h needs those unsigned
defines and it can't probe the results of queries by configure. odbc
allows for stand-alone compile.
#if SIZEOF_UINT8 == 0
Right now it is testing for __BEOS__, which I believe is something set
by the compiler and not by configure.
My idea is to just unconditionally define the unsigned's in odbc. It
will fail on a few platforms but I don't see another solution.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, <pgsql-hackers(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Open Items (was: RE: [HACKERS] Beta going well) |
Date: | 2001-11-16 13:59:40 |
Message-ID: | Pine.LNX.4.30.0111160000190.633-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg와이즈 토토SQL pgsql-patches |
Bruce Momjian writes:
> The only problem I have now is that odbc/md5.h needs those unsigned
> defines and it can't probe the results of queries by configure. odbc
> allows for stand-alone compile.
ODBC uses all kinds of other configure results, so it can use this one as
well. You only need to make sure you hard-code the test result for
Windows somewhere.
--
Peter Eisentraut peter_e(at)gmx(dot)net