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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 067701f) | patch
Use MyBackendType in more places to check what process this is
Mon, 4 Mar 2024 08:25:12 +0000 (10:25 +0200)
Mon, 4 Mar 2024 08:25:12 +0000 (10:25 +0200)
commit 393b5599e5177e456cdce500039813629d370b38
Use MyBackendType in more places to check what process this is

Remove IsBackgroundWorker, IsAutoVacuumLauncherProcess(),
IsAutoVacuumWorkerProcess(), and IsLogicalSlotSyncWorker() in favor of
new Am*Process() macros that use MyBackendType. For consistency with
the existing Am*Process() macros.

Reviewed-by: Andres Freund
Discussion: https://www.postgresql.org/message-id/f3ecd4cb-85ee-4e54-8278-5fabfb3a4ed0@iki.fi
20 files changed:
src/backend/access/gin/ginfast.c diff | blob | blame | history
src/backend/access/gin/ginvacuum.c diff | blob | blame | history
src/backend/access/heap/vacuumlazy.c diff | blob | blame | history
src/backend/commands/analyze.c diff | blob | blame | history
src/backend/commands/vacuum.c diff | blob | blame | history
src/backend/postmaster/autovacuum.c diff | blob | blame | history
src/backend/postmaster/bgworker.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/replication/logical/slotsync.c diff | blob | blame | history
src/backend/statistics/extended_stats.c diff | blob | blame | history
src/backend/storage/ipc/ipc.c diff | blob | blame | history
src/backend/storage/lmgr/proc.c diff | blob | blame | history
src/backend/tcop/postgres.c diff | blob | blame | history
src/backend/utils/activity/pgstat_relation.c diff | blob | blame | history
src/backend/utils/init/globals.c diff | blob | blame | history
src/backend/utils/init/miscinit.c diff | blob | blame | history
src/backend/utils/init/postinit.c diff | blob | blame | history
src/include/miscadmin.h diff | blob | blame | history
src/include/postmaster/autovacuum.h diff | blob | blame | history
src/include/replication/slotsync.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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