Re: [HACKERS] Why does logical replication launcher exit with exitcode 1?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Why does logical replication launcher exit with exitcode 1?
Дата
Msg-id d2b19fd7-9013-ca54-61a4-0e915009842f@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Why does logical replication launcher exit with exitcode 1?  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] Why does logical replication launcher exit with exitcode 1?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 8/1/17 20:20, Andres Freund wrote:
> Well, that's how it is for all bgworkers - maybe a better solution is to
> adjust that message in the postmaster rather than fiddle with the worker
> exist code?  Seems like we could easily take pmStatus into account
> inside LogChildExit() and set the log level to DEBUG1 even for
> EXIT_STATUS_1 in that case?  Additionally we probably should always log
> a better message for bgworkers exiting with exit 1, something about
> unregistering the worker or such.

Maybe it doesn't need to be logged at all (other than perhaps as DEBUG)?A few months ago, people were complaining about
toomany messages about
 
background workers starting.  Now we are having complaints about
messages about background workers stopping.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] [PATCH] Make ExplainBeginGroup()/ExplainEndGroup() public.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables