Re: [PATCHES] to_char and Roman Numeral (RN) bug

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] to_char and Roman Numeral (RN) bug
Date: 2001-09-04 15:43:18
Message-ID: 20010904174318.B28072@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Tue, Sep 04, 2001 at 11:37:48AM -0400, Bruce Momjian wrote:
> > On Fri, Aug 31, 2001 at 07:28:50PM -0700, Command Prompt, Inc. wrote:
> >
> > > In documenting the to_char() function for transformation of numbers to
> > > text, I noticed that the "RN" template character sequence was displaying
> > > some unusual behavior; specifically, unless in fill mode (with the "FM"
> > > sequence), it would either return the result of the last query executed
> > > derived from a to_char() result, or what appears to be a garbage pointer
> > > if there was no such last query.
> >
> > You are right it's bug. For the 'RM' in non-fillmode is to_char() quiet.
> > I will fix it for 7.2.
>
> Karel, I assume you will send in a patch yourself, right?

Right. It needs check.

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-09-04 15:46:37 Re: Postgres is eating my CPU
Previous Message Bruce Momjian 2001-09-04 15:37:48 Re: [PATCHES] to_char and Roman Numeral (RN) bug

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2001-09-04 15:46:44 Re: Bytea/Base64 encoders for libpq - interested?
Previous Message Bruce Momjian 2001-09-04 15:37:48 Re: [PATCHES] to_char and Roman Numeral (RN) bug