Re: Open Items (was: RE: [HACKERS] Beta going well) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Open Items (was: RE: [HACKERS] Beta going well)
Date
Msg-id 12532.1005840067@sss.pgh.pa.us
Whole thread Raw
In response to Re: Open Items (was: RE: [HACKERS] Beta going well)  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
List pgsql-hackers
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.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

pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Call for testing
Next
From: Bruce Momjian
Date:
Subject: Re: Open Items (was: RE: [HACKERS] Beta going well)