Re: [HACKERS] date/time problem in v6.5.3 and 7.0.0 ... - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] date/time problem in v6.5.3 and 7.0.0 ...
Date
Msg-id 20000119103518I.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] date/time problem in v6.5.3 and 7.0.0 ...  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
> > > I can add days to now(), but not subtract?
> 
> The problem is that it is meaningful to subtract two absolute times,
> giving a delta time as a result, *and* it is meaningful to subtract a
> delta time from an absolute time, giving another absolute time as a
> result. 

It would be nice if we could decide '30 days' is a delta time because
it is not suitable for an absolute time representation. Would it be
hard?
--
Tatsuo Ishii



pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Index recreation in vacuum
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] multi-byte support broken in current