Re: COPYable logs status

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: COPYable logs status
Дата
Msg-id
20070608131125.GB9071@alvh.no-ip.org
Ответ на
COPYable logs status (Andrew Dunstan)
Список
Дерево обсуждения
COPYable logs status Andrew Dunstan <andrew@dunslane.net>
Re: COPYable logs status Alvaro Herrera <alvherre@commandprompt.com>
Re: COPYable logs status Tom Lane <tgl@sss.pgh.pa.us>
Re: COPYable logs status Andrew Sullivan <ajs@crankycanuck.ca>
Re: COPYable logs status Andrew Dunstan <andrew@dunslane.net>
Re: COPYable logs status Tom Lane <tgl@sss.pgh.pa.us>
Re: COPYable logs status "FAST PostgreSQL" <fastpgs@fast.fujitsu.com.au>
Re: COPYable logs status Martijn van Oosterhout <kleptog@svana.org>
Re: COPYable logs status Alvaro Herrera <alvherre@commandprompt.com>
Re: COPYable logs status Tom Lane <tgl@sss.pgh.pa.us>
Re: COPYable logs status Andrew Dunstan <andrew@dunslane.net>
Re: COPYable logs status "Matthew T. O'Connor" <matthew@zeut.net>
Re: COPYable logs status Tom Lane <tgl@sss.pgh.pa.us>
Re: COPYable logs status "Matthew T. O'Connor" <matthew@zeut.net>
Re: COPYable logs status Tom Lane <tgl@sss.pgh.pa.us>
Re: COPYable logs status Markus Schiltknecht <markus@bluegap.ch>
Re: COPYable logs status Tom Lane <tgl@sss.pgh.pa.us>
Re: COPYable logs status Markus Schiltknecht <markus@bluegap.ch>
Andrew Dunstan wrote:

> Unfortunately, there is no solution in sight for this problem, certainly 
> not one which I think can be devised and implemented simply at this 
> stage of the cycle. The solution we'd like to use, LWLocks, is not 
> workable in his context. In consequence, I don't think we have any 
> option but to shelve this item for the time being.

The idea of one pipe per process is not really workable, because it
would mean having as many pipes as backends which does not sound very
good.  But how about a mixed approach -- like have the all the backends
share a pipe, controlled by an LWLock, and the auxiliary process have a
separate pipe each?

One thing I haven't understood yet is how having multiple pipes help on
this issue.  Is the logger reading from the pipe and then writing to a
file?  (I haven't read the logger code).

-- 
Alvaro Herrera                 http://www.amazon.com/gp/registry/CTMLCN8V17R4
"Endurecerse, pero jamás perder la ternura" (E. Guevara)

В списке pgsql-hackers по дате отправления
От: Gurjeet Singh
Дата:
От: Alvaro Herrera
Дата:
FAQ