"Serguei Mokhov" <[EMAIL PROTECTED]> writes:
>> This would work, I think, but my goodness it's an ugly solution.
> Is anything wrong with just having two int32 per value for this case?
Well, we do want it to be int64 on machines where int64 is properly
defined. Or are you suggesting
#ifdef INT64_IS_BUSTED
int32 last_value;
int32 pad1;
#else
int64 last_value;
#endif
That does seem marginally more robust, now that you mention it...
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- [HACKERS] int8 sequences --- small implementation problem Tom Lane
- Re: [HACKERS] int8 sequences --- small implementation ... Neil Padgett
- Re: [HACKERS] int8 sequences --- small implementation ... Tom Lane
- Re: [HACKERS] int8 sequences --- small implementat... Serguei Mokhov
- Re: [HACKERS] int8 sequences --- small implementation ... Stephan Szabo
- Re: [HACKERS] int8 sequences --- small implementation ... Joe Conway
- Re: [HACKERS] int8 sequences --- small implementation ... Serguei Mokhov
- Re: [HACKERS] int8 sequences --- small implementation ... Jan Wieck
