Set appropriate processing mode for auxiliary processes.

Xing Guo <higuoxing@gmail.com>

From: Xing Guo <higuoxing@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2024-05-09T13:12:45Z
Lists: pgsql-hackers

Attachments

Hi hackers,

After several refactoring iterations, auxiliary processes are no
longer initialized from the bootstrapper. I think using the
InitProcessing mode for initializing auxiliary processes is more
appropriate.

Best Regards,
Xing

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Remove redundant SetProcessingMode(InitProcessing) calls

  2. Move bgworker specific logic to bgworker.c