Re: return values of backend sub-main functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: return values of backend sub-main functions
Date
Msg-id 18007.1325972502@sss.pgh.pa.us
Whole thread Raw
In response to return values of backend sub-main functions  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: return values of backend sub-main functions
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I suggest that we change PostgresMain(), PostmasterMain(), BackendRun(),
> WalSenderMain(), and WalSndLoop() to return void as well.

I agree this code is not very consistent or useful, but one question:
what should the callers do if one of these functions *does* return?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: return values of backend sub-main functions
Next
From: Heikki Linnakangas
Date:
Subject: Re: LWLOCK_STATS