Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group