git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0bbafb5) | patch
Rename StartBackgroundWorker() to BackgroundWorkerMain().
Mon, 9 Oct 2023 08:52:09 +0000 (11:52 +0300)
Mon, 9 Oct 2023 08:52:09 +0000 (11:52 +0300)
commit 637109d13ab2684aa7ad4e893137e7487b5e8490
Rename StartBackgroundWorker() to BackgroundWorkerMain().

The comment claimed that it is "called from postmaster", but it is
actually called in the child process, pretty early in the process
initialization. I guess you could interpret "called from postmaster"
to mean that, but it seems wrong to me. Rename the function to be
consistent with other functions with similar role.

Reviewed-by: Thomas Munro
Discussion: https://www.postgresql.org/message-id/4f95c1fc-ad3c-7974-3a8c-6faa3931804c@iki.fi
src/backend/postmaster/bgworker.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/include/postmaster/bgworker_internals.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /