"Serguei Mokhov" <sa_mokho(at)alcor(dot)concordia(dot)ca> 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