Re: incorrect handling of the timeout in pg_receivexlog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: incorrect handling of the timeout in pg_receivexlog
Дата
Msg-id 29990.1338904026@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: incorrect handling of the timeout in pg_receivexlog  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Jun 5, 2012 at 3:36 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> We discussed this before and reached consensus not to use %m :)
>> http://archives.postgresql.org/pgsql-hackers/2011-01/msg01674.php

> :-) there goes my memory.

> That said, we're using %m in a fairly large number of places already,
> but they're mostly in the backend. I guess we're safe there.

It should only appear in elog/ereport calls; if there are any in bare
printfs, they are wrong, just as Fujii-san says.  Frontend or backend
doesn't matter.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Backup docs
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: No, pg_size_pretty(numeric) was not such a hot idea