Manfred Koizar <mkoi-pg(at)aon(dot)at> writes:
>>> Vik, I guess that on your platform time_t is smaller than long.
> Ok, this is pretty clear now. Apply this patch and recompile Postgres.
Yup, that's a gotcha. Patch applied to 7.4 and HEAD branches.
regards, tom lane