Probably an old bug, but here you go anyway...

From: blueberry(at)linuxmail(dot)org (Blue Berry)
To: pgsql-general(at)postgresql(dot)org
Subject: Probably an old bug, but here you go anyway...
Date: 2001-08-14 20:38:03
Message-ID: ca1120dd.0108141238.19f3a81d@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, I'm working with 7.0.2, so this might be an old bug. I saw some
other bugs mentioned in this newsgroup involving to_char were said to
be resolved for 7.1.0, but I just thought I'd volunteer it anyway...

db1=# select flastpostdate, to_char(flastpostdate, 'hh:mi:ss mon-dd-yy
am') from tThreads order by flastpostdate desc limit 1;

flastpostdate | to_char
------------------------+-----------------------
2001-08-14 13:22:02-07 | 01:22:02 aug-14-01 am
(1 row)

It displays results that should be pm as am. Seems to work for other
hours, though...

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-14 20:48:44 Re: Re: Use int8 for int4/int2 aggregate accumulators?
Previous Message Allan Engelhardt 2001-08-14 20:37:55 Re: Perfomance decreasing