1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Remove now-unnecessary Autovacuum[Launcher|Worker]IAm functions

After commit fd5e8b440d, InitProcess() is called later in the
EXEC_BACKEND startup sequence, so it's enough to set the
am_autovacuum_[launcher|worker] variables at the same place as in the
!EXEC_BACKEND case.
This commit is contained in:
Heikki Linnakangas
2023-12-04 15:34:37 +02:00
parent a3f76a3f7e
commit e7c6efe305
3 changed files with 0 additions and 26 deletions

View File

@@ -4842,12 +4842,6 @@ SubPostmasterMain(int argc, char *argv[])
else
PGSharedMemoryNoReAttach();
/* autovacuum needs this set before calling InitProcess */
if (strcmp(argv[1], "--forkavlauncher") == 0)
AutovacuumLauncherIAm();
if (strcmp(argv[1], "--forkavworker") == 0)
AutovacuumWorkerIAm();
/* Read in remaining GUC variables */
read_nondefault_variables();