Re: [BUGS] Re: PostgreSQL 7.0.2 Date Miscalculation

2001-04-03 Thread Thomas Lockhart
Tom Lane wrote: > > Thomas Lockhart <[EMAIL PROTECTED]> writes: > >> --- ./results/horology.out Mon Apr 2 17:06:59 2001 > >> SELECT time with time zone '01:30' + interval '02:01' AS "03:31:00-08"; > >> 03:31:00-08 > >> - > >> ! 03:31:00-07 > > > Hmm. This is just a badly desig

Re: [BUGS] Re: PostgreSQL 7.0.2 Date Miscalculation

2001-04-03 Thread Tom Lane
Thomas Lockhart <[EMAIL PROTECTED]> writes: >> --- ./results/horology.out Mon Apr 2 17:06:59 2001 >> SELECT time with time zone '01:30' + interval '02:01' AS "03:31:00-08"; >> 03:31:00-08 >> - >> ! 03:31:00-07 > Hmm. This is just a badly designed regression test (I can say that

[BUGS] Re: PostgreSQL 7.0.2 Date Miscalculation

2001-04-03 Thread Thomas Lockhart
> > The RELTIME function is miscalculating dates. > > (all my graphs were wrong today!) Just an aside: INTERVAL is the preferred type for, uh, intervals. RELTIME is used internally for historical reasons. In particular, INTERVAL maintains the distinction between qualitative units such as months a