Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

time_t problem with postgresql

On Wed, 11 Mar 2009, Daniel Carosone wrote:
> My guess, repeated from last time[sic]: time_t is being written to
> disk, and has changed size. This is causing fallout elsewhere, as
> later fields are being read at the wrong offsets, giving odd results
> like above. 

Yes, postgresql writes (used to write) time_t to disk,
and gets confused when sizeof(time_t) changes.  See
<> for
the fix.  I don't know which versions of postgresql include this fix.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index