Re: A couple items on TODO
От
Peter Eisentraut
Тема
Re: A couple items on TODO
Дата
Msg-id
Pine.LNX.4.30.0108232053430.677-100000@peter.localdomain
Ответ на
Re: A couple items on TODO (Tom Lane)
Список
Дерево обсуждения
A couple items on TODO Jeff Davis <list-pgsql-hackers@dynworks.com>
Re: A couple items on TODO Bruce Momjian <pgman@candle.pha.pa.us>
RE: A couple items on TODO "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: A couple items on TODO Jeff Davis <list-pgsql-hackers@dynworks.com>
Re: A couple items on TODO Bruce Momjian <pgman@candle.pha.pa.us>
RE: A couple items on TODO "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: A couple items on TODO Tom Lane <tgl@sss.pgh.pa.us>
Re: A couple items on TODO Peter Eisentraut <peter_e@gmx.net>
Re: A couple items on TODO Ian Lance Taylor <ian@airs.com>
Re: A couple items on TODO Bruce Momjian <pgman@candle.pha.pa.us>
Re: A couple items on TODO speedboy <speedboy@nomicrosoft.org>
Re: A couple items on TODO Bruce Momjian <pgman@candle.pha.pa.us>
Re: A couple items on TODO Peter Eisentraut <peter_e@gmx.net>
Re: A couple items on TODO Tom Lane <tgl@sss.pgh.pa.us>
Re: A couple items on TODO Bruce Momjian <pgman@candle.pha.pa.us>
Re: A couple items on TODO Peter Eisentraut <peter_e@gmx.net>
Tom Lane writes: > AFAIR, elog at NOTICE or DEBUG level isn't really supposed to have any > side-effects. The bigger issue is that you have to be careful about > using it in certain places, mainly during startup or for reporting > communication errors. (send failure -> elog -> tries to send message to > client -> send failure -> elog -> trouble) It's especially postmaster.c and the related subroutines elsewhere that I'm not happy about. The postmaster would really need a way to report an error to the log and continue in its merry ways. This could probably be encapsulated in elog() by setting a flag variable "I'm the postmaster" -- might even exit already. Note: In my experience, the previous suggestion to return to the postmaster main loop on error would not really be useful. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата: