Re: BUG #3252: Select Order by time

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lee Chua" <leehchua(at)bensecurity(dot)com(dot)au>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3252: Select Order by time
Date: 2007-04-25 05:42:35
Message-ID: 14184.1177479755@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Lee Chua" <leehchua(at)bensecurity(dot)com(dot)au> writes:
> When we select and order by time we get 00:00:00 as the latest time of the
> day.

Really? It works as expected for me:

regression=# create table foo(f1 time);
CREATE TABLE
regression=# insert into foo values ('1:00:00'),('2:00:00'),('0:00:00'),
regression-# ('23:00:00'), ('23:59:59');
INSERT 0 5
regression=# select * from foo order by f1;
f1
----------
00:00:00
01:00:00
02:00:00
23:00:00
23:59:59
(5 rows)

regression=

Please provide a reproducible test case.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2007-04-25 05:50:55 Re: BUG #3253: 8.2.4 Installer Displays No Default Install Path and Browse Error 2864
Previous Message Russell Smith 2007-04-25 02:48:53 Re: Grantor name gets lost when grantor role dropped