Re: dbmirror bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dbmirror bug
Дата
Msg-id 24887.1037982415@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dbmirror bug  (Hai-Chen Tu <hctu@yahoo.com>)
Список pgsql-bugs
Hai-Chen Tu <hctu@yahoo.com> writes:
> The cause of the problem is that pending.c in dbmirror
> uses
>     elog(NOTICE, cpKeyData)
> and
>     elog(NOTICE, cpFieldData)
> to print column data where elog
> interprets the second argument as sprintf
> format string, which fails if
> cpKeyData/cpFieldData contains '%'.

Good catch!  Trawling the sources identified a dozen other places with
the same error --- all fixed now.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: dbmirror bug
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Is this planner choice easily explained?