odd result set - Mailing list pgsql-general

From garry saddington
Subject odd result set
Date
Msg-id 1163564998.21067.3.camel@localhost
Whole thread Raw
List pgsql-general
I have the following result from the sql below. Can anyone help by
explaining why the last record could be returned. Periodstart and
periodend are time data types. I have tried to cast '10.35' to a time
type with the same results.

________________________________________________________________________
     Periodid
   Periodnumber
   Periodstart
    Periodend
1
1
09:00:00.00
09:35:00.00
2
2
09:35:00.00
09:10:00.00
3
3
10:20:00.00
10:55:00.00
4
4
10:50:00.00
11:30:00.00

________________________________________________________________________
SQL used:
select * from periods
where '10:35' > periodstart

Kind regards
Garry


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Why the data changes it's value by itself!
Next
From: Eric Rousse
Date:
Subject: Strange Postgresql crash