strange overlaps? - Mailing list pgsql-general

From Pavel Stehule
Subject strange overlaps?
Date
Msg-id Pine.LNX.4.44.0503231606370.26873-100000@kix.fsv.cvut.cz
Whole thread Raw
List pgsql-general
Hello,

it's true?

tarif=# select ('10:10:10'::time,'10min'::interval) overlaps
('18:00:00'::time, '6hours'::interval);
 overlaps
----------
 t
(1 row)

I think not. There is problem in overflow one parametr.

tarif=# select ('06:10:10'::time,'1min'::interval) overlaps
('18:00:00'::time, '5hours 59min'::interval);
 overlaps
----------
 f
(1 row)

tarif=# select version();
                                                 version
---------------------------------------------------------------------------------------------------------
 PostgreSQL 8.0.1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.2
20031022 (Red Hat Linux 3.3.2-1)
(1 row)

Regards
Pavel Stehule



pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: PostgreSQL support
Next
From: tony
Date:
Subject: Re: OSX, ODBC and Office 2004