Re: Checks in RegisterBackgroundWorker.()

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-09-27T20:46:20Z
Lists: pgsql-hackers

Attachments

Here's a new version of these patches. I fixed one comment and ran 
pgindent, no other changes.

-- 
Heikki Linnakangas
Neon (https://neon.tech)

Commits

  1. Rename StartBackgroundWorker() to BackgroundWorkerMain().

  2. Allocate Backend structs in PostmasterContext.

  3. Clarify the checks in RegisterBackgroundWorker.