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

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: [PATCHES] to_char and Roman Numeral (RN) bug
Дата
Msg-id 20010904154202.G24060@zf.jcu.cz
обсуждение исходный текст
Ответ на [PATCHES] to_char and Roman Numeral (RN) bug  ("Command Prompt, Inc." <pgsql-hackers@commandprompt.com>)
Ответы Re: [PATCHES] to_char and Roman Numeral (RN) bug
Список pgsql-hackers
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.

> I consider myself a competent programmer, but never having hacked on
> Postgres, I'm not 100% sure that this modification is totally correct
I check it and if it's good solution we use it.
Thanks!
Karel

PS. Bruce, please, can you apply my previous (31 Aug) patch with to_char()   stuff? I want fix this bug in really
actualCVS code. Thanks.
 

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [BUGS] Build problem with CVS version
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bytea/Base64 encoders for libpq - interested?