Thanks to visit codestin.com
Credit goes to postgrespro.com

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 [email protected]
Whole thread Raw
In response to return values of backend sub-main functions  (Peter Eisentraut <[email protected]>)
Responses Re: return values of backend sub-main functions
List pgsql-hackers
Peter Eisentraut <[email protected]> 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