Re: Bugs in to_char function

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: trogers3(at)creigh(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bugs in to_char function
Date: 2000-10-18 09:07:42
Message-ID: Pine.LNX.3.96.1001018105553.28292A-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

On Tue, 17 Oct 2000, Tom Lane wrote:

> "Tom Rogers" <trogers3(at)creigh(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Palle Girgensohn 2000-10-18 10:46:58 Re: The Data Base System is in recovery mode
Previous Message Karel Zak 2000-10-18 08:21:32 Re: Bugs in to_char function

Browse pgsql-patches by date

  From Date Subject
Next Message Timaran Ricardo 2000-10-18 11:36:50 Re: Documentation about compiler Postgres
Previous Message Karel Zak 2000-10-18 08:21:32 Re: Bugs in to_char function