Re: Re: [HACKERS] to_char() dumps core

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: [HACKERS] to_char() dumps core
Дата
Msg-id 200010201733.NAA21015@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] to_char() dumps core  (Karel Zak <zakkr@zf.jcu.cz>)
Ответы Re: Re: [HACKERS] to_char() dumps core  (Karel Zak <zakkr@zf.jcu.cz>)
Список pgsql-patches
> > > causes backend dump a core if n is a float/numeric ...data type AND if
> > > sum(n) returns NULL. This seems due to a bad null pointer handling for
> > > aruguments of pass-by-reference data types.  I think just a simple
> > > null pointer checking at very top of each function (for example
> > > float4_to_char()) would solve the problem.  Comments?
> >
> >  In the 7.1devel it's correct, but here it's bug, IMHO it bear on changes
> > in the 7.1's fmgr, because code is same in both versions for this. On Monday,
> > I try fix it for 7.0.3
>
>  Not, monday .. just now :-)
>
>  The patch is attached... Bruce, it's again to 7.0.3!

Got it.  You don't have to hit me over head all the time (just most of
the time).  :-)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: [HACKERS] to_char() dumps core
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Re: [HACKERS] to_char() dumps core