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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4d22173) | patch
Remove redundant SetProcessingMode(InitProcessing) calls
Tue, 2 Jul 2024 17:14:40 +0000 (20:14 +0300)
Tue, 2 Jul 2024 17:14:40 +0000 (20:14 +0300)
commit eb21f5bc67a02eb6f7de1bd2f07acdd471a4d320
Remove redundant SetProcessingMode(InitProcessing) calls

After several refactoring iterations, auxiliary processes are no
longer initialized from the bootstrapper. Using the InitProcessing
mode for initializing auxiliary processes is more appropriate. Since
the global variable Mode is initialized to InitProcessing, we can just
remove the redundant calls of SetProcessingMode(InitProcessing).

Author: Xing Guo <higuoxing@gmail.com>
Discussion: https://www.postgresql.org/message-id/CACpMh%2BDBHVT4xPGimzvex%3DwMdMLQEu9PYhT%2BkwwD2x2nu9dU_Q%40mail.gmail.com
src/backend/postmaster/autovacuum.c diff | blob | blame | history
src/backend/postmaster/auxprocess.c diff | blob | blame | history
src/backend/postmaster/bgworker.c diff | blob | blame | history
src/backend/replication/logical/slotsync.c diff | blob | blame | history
src/backend/tcop/postgres.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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