Re: bug on log generation ?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: bug on log generation ?
Дата
Msg-id 20220808163822.l4eh6ntev54verjd@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: bug on log generation ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2022-08-08 12:19:22 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2022-08-08 10:32:22 -0400, Tom Lane wrote:
> >> Another idea is that some of the write() calls are failing --- elog.c
> >> doesn't check for that.
> 
> > I was suspicious of those as well. It might be a good idea to at least write
> > such failures to stderr, otherwise it's just about impossible to debug. Not
> > that stderr will always point anywhere useful...
> 
> Uh ... what we are talking about is a failure to write to stderr.
> It's not likely that adding more output will help.

I forgot that we don't preserve the original stderr in some other fd, likely
because the logger itself still has it open and can use write_stderr().

Greetings,

Andres Freund



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: make update-po@master stops at pg_upgrade
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: 2022-08-11 release announcement draft