Re: COPYable logs status

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPYable logs status
Дата
Msg-id 10294.1181575215@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: COPYable logs status  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I'll try to get a patch out for just the stderr case, which should be 
> back-patchable, then adjust the CSVlog patch to use it.

Sounds like a plan.

> I'm thinking of handling the partial lines with a small dynahash of 
> StringInfo buffers, which get discarded whenever we don't have a partial 
> line for the PID.

A hashtable might be overkill --- based on reports so far, it's unlikely
you'd have more than two or three messages being received concurrently,
so a simple list or array might be quicker to search.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: What's with the StartDb:2 failures on skylark?
Следующее
От: Magnus Hagander
Дата:
Сообщение: ecpg compile error in regression tests