Re: bug in SignalSomeChildren

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bug in SignalSomeChildren
Дата
Msg-id 29695.1292599650@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bug in SignalSomeChildren  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: bug in SignalSomeChildren  (Robert Haas <robertmhaas@gmail.com>)
Re: bug in SignalSomeChildren  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I think the attached might be a little tidier.  Thoughts?

I'm not really thrilled at the idea of calling
IsPostmasterChildWalSender for every child whether or not it will have
any impact on the decision.  That involves touching shared memory which
can be rather expensive (see previous discussions about shared cache
lines and so forth).

The existing coding is pretty ugly, I agree.
        regards, tom lane


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: patch: remove redundant code from pl_exec.c
Следующее
От: David Fetter
Дата:
Сообщение: Re: plperlu problem with utf8