Re: COPYable logs status

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: COPYable logs status
Дата
Msg-id 20070608133511.GA9818@svana.org
обсуждение исходный текст
Ответ на COPYable logs status  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: COPYable logs status  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Fri, Jun 08, 2007 at 08:31:54AM -0400, Andrew Dunstan wrote:
> The situation with this patch is that I now have it in a state where I
> think it could be applied, but there is one blocker, namely that we do
> not have a way of preventing the interleaving of log messages from
> different backends, which leads to garbled logs. This is an existing
> issue about which we have had complaints, but it becomes critical for a
> facility the whole purpose of which is to provide logs in a format
> guaranteed to work with our COPY command.

The whole semantics of PIPEBUF should prevent garbling, as long as each
write is a complete set of lines and no more than PIPEBUF bytes long.
Have we determined the actual cause of the garbling?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovacuum launcher doesn't notice death of postmaster immediately
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: COPYable logs status