Re: WIP csv logs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP csv logs
Дата
Msg-id 16891.1181172392@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP csv logs  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: WIP csv logs  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Alvaro Herrera <alvherre@commandprompt.com> writes:
> I wonder, if we were to use an LWLock to protect writing to the stderr
> pipe, would it be too contentious?

Sorry, that's a nonstarter.

1. Not all our processes are connected to shared memory.  Even the ones
that are don't necessarily have PGPROCs.

2. If somebody crashes while holding the lock, the entire system
including the postmaster soon freezes up.

3. Having the postmaster take LWLocks is verboten anyway, mainly because
of problem #2.

            regards, tom lane

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: WIP csv logs
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: contrib/pgstattuple Japanese documentation fix