Re: WIP csv logs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: WIP csv logs
Дата
Msg-id 20070606201312.GI11800@alvh.no-ip.org
обсуждение исходный текст
Ответ на WIP csv logs  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: WIP csv logs  (Andrew Dunstan <andrew@dunslane.net>)
Re: WIP csv logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Andrew Dunstan wrote:
>
> Attached is my WIP version of the CSV logs patch. It does not include
> docs changes.
>
> It fixes the CSV thinko I just posted about, and also implements the
> "safe to rotate" scheme I suggested yesterday, at quite a modest cost.
> As Tom rightly points out, that does not protect us against interleaving
> log lines from different backends, which is an open problem.

I wonder, if we were to use an LWLock to protect writing to the stderr
pipe, would it be too contentious?

--
Alvaro Herrera       Valdivia, Chile   ICBM: S 39º 49' 18.1", W 73º 13' 56.4"
"El destino baraja y nosotros jugamos" (A. Schopenhauer)

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: WIP csv logs
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: WIP csv logs