Re: WIP csv logs

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: WIP csv logs
Дата
Msg-id 46672360.2050007@dunslane.net
обсуждение исходный текст
Ответ на Re: WIP csv logs  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches

Alvaro Herrera wrote:
> 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?
>
>
That was the first thing I wanted to try. I'll code it up and then
people can test to see if we get a significant performance hit.

cheers

andrew


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: WIP csv logs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WIP csv logs