Re: --describe-config crashes

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: --describe-config crashes
Дата
Msg-id
200803022028.m22KSQu03409@momjian.us
Ответ на
Список
Дерево обсуждения
--describe-config crashes Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: --describe-config crashes Tom Lane <tgl@sss.pgh.pa.us>
Re: --describe-config crashes Bruce Momjian <bruce@momjian.us>
Tom Lane wrote:
> Zdenek Kotala  writes:
> > Function printMixedStruct calls printf with NULL argument. It causes 
> > segmentation fault. Please, apply it for 8.3 - 8.1 too.
> 
> Ugh, I guess we've only tested --describe-config on platforms where
> %s treats a NULL pointer the same as an empty string.
> 
> Since that's also effectively the way GUC handles it, I'm inclined
> to think we should print NULL as "" not "(NULL)".  Otherwise,
> will apply.

Tom has applied this patch to CVS HEAD and all relevant back-branches.

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-patches по дате отправления
От: David Fetter
Дата:
От: Bruce Momjian
Дата:
Сообщение: Re: fix in --help output
FAQ