[HACKERS] The rh7.3 time errors

2002-09-28 Thread Magnus Naeslund(f)

Was there a workaround for the errors in time handling for rh7.3 dist?

I get there regression failures:
 abstime  ... FAILED
 tinterval... FAILED
test horology ... FAILED

I remember the discussion about old dates, but not if there was any fix for it...

Magnus

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Programmer/Networker [|] Magnus Naeslund
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [HACKERS] The rh7.3 time errors

2002-09-28 Thread Joe Conway

Magnus Naeslund(f) wrote:
 Was there a workaround for the errors in time handling for rh7.3 dist?
 
 I get there regression failures:
  abstime  ... FAILED
  tinterval... FAILED
 test horology ... FAILED
 
 I remember the discussion about old dates, but not if there was any fix for it...
 

Tom fixed this just before we went into beta. Are you using a recent snapshot?

Joe




---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: [HACKERS] The rh7.3 time errors

2002-09-28 Thread Magnus Naeslund(f)

Joe Conway [EMAIL PROTECTED] wrote:
 Magnus Naeslund(f) wrote:
 Was there a workaround for the errors in time handling for rh7.3
 dist? 
 
 I get there regression failures:
  abstime  ... FAILED
  tinterval... FAILED
 test horology ... FAILED
 
 I remember the discussion about old dates, but not if there was any
 fix for it... 
 
 
 Tom fixed this just before we went into beta. Are you using a recent
 snapshot? 
 
 Joe

As usual, i never remember to supply version information.
I'm using latest stable, 7.2.2.
Is there a quick workaround for this version, or must there be code ?

Magnus

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Programmer/Networker [|] Magnus Naeslund
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Magnus

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: [HACKERS] The rh7.3 time errors

2002-09-28 Thread Bruce Momjian

Magnus Naeslund(f) wrote:
 Joe Conway [EMAIL PROTECTED] wrote:
  Magnus Naeslund(f) wrote:
  Was there a workaround for the errors in time handling for rh7.3
  dist? 
  
  I get there regression failures:
   abstime  ... FAILED
   tinterval... FAILED
  test horology ... FAILED
  
  I remember the discussion about old dates, but not if there was any
  fix for it... 
  
  
  Tom fixed this just before we went into beta. Are you using a recent
  snapshot? 
  
  Joe
 
 As usual, i never remember to supply version information.
 I'm using latest stable, 7.2.2.
 Is there a quick workaround for this version, or must there be code ?

The change was to use localtime() rather than mktime() in the code. 
There is no workaround available for 7.2.X, and I don't see that anyone
backpatched it to 7.2 CVS.  However, we are considering a 7.2.3 and a
backpatch of that fix may be worthwhile.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



Re: [HACKERS] The rh7.3 time errors

2002-09-28 Thread Magnus Naeslund(f)

Bruce Momjian [EMAIL PROTECTED] wrote:
 
 The change was to use localtime() rather than mktime() in the code.
 There is no workaround available for 7.2.X, and I don't see that
 anyone backpatched it to 7.2 CVS.  However, we are considering a
 7.2.3 and a backpatch of that fix may be worthwhile.
 

That would be excellent, because it feels awkward installing stuff that doesn't pass 
the regression tests, as all our new linux boxes will be rh7.3.
But right now in our apps we're not relying on the time being right (isn't that the 
issue?) only the years...

If it's a simple fix, i think we should include that in the next 7.2.X .

Magnus

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Programmer/Networker [|] Magnus Naeslund
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html