Re: Bugs in to_char function
Karel Zak <zakkr@zf.jcu.cz>
From: Karel Zak <zakkr@zf.jcu.cz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: trogers3@creigh.com, pgsql-bugs@postgresql.org
Date: 2000-10-18T09:07:42Z
Lists: pgsql-bugs
On Tue, 17 Oct 2000, Tom Lane wrote: > "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? I look at "cvs co -P -r REL7_0_PATCHES pgsql" and it's worry, the differention between 7.0.3 and 7.1 is in the formatting.c 5Kb :-( Well, I try prepare patch for 7.0.3 for AM/PM. Karel