Re: Bugs in to_char function

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: trogers3@creigh.com
Cc: pgsql-bugs@postgresql.org, Karel Zak <zakkr@zf.jcu.cz>
Date: 2000-10-18T03:40:44Z
Lists: pgsql-bugs
"Tom Rogers" <trogers3@creigh.com> writes:
> [to_char] gives the correct meridian value for all AM times but incorrectly
> returns an AM meridian for PM times between 12:00 PM and 1:50:59 PM.

I believe this is a known bug in the 7.0 implementation of to_char, and
is long since fixed in development sources.  Karel Zak is the author of
to_char and would know for sure.  Karel, does it make sense to
back-patch a quick fix for this into REL7_0_PATCHES for the upcoming
7.0.3 release?  If so, could you provide a patch?

			regards, tom lane