• Tom Lane's avatar
    Fix a problem in my recent patch to initialize cancel_key for autovac workers · 0b9d3d4d
    Tom Lane authored
    as well as regular backends: if no regular backend launches before the autovac
    launcher tries to start an autovac worker, the postmaster would get an Assert
    fault due to calling PostmasterRandom before random_seed was initialized.
    Cleanest solution seems to be to take the initialization of random_seed out
    of ServerLoop and let PostmasterRandom do it for itself.
    0b9d3d4d
postmaster.c 116 KB