Re: [HACKERS] Why does logical replication launcher exit with exitcode 1? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Why does logical replication launcher exit with exitcode 1?
Date
Msg-id d2b19fd7-9013-ca54-61a4-0e915009842f@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] Why does logical replication launcher exit with exitcode 1?  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] Why does logical replication launcher exit with exitcode 1?  (Robert Haas <robertmhaas@gmail.com>)
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] [PATCH] Make ExplainBeginGroup()/ExplainEndGroup() public.
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables