diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-08-04 03:15:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-08-04 03:15:49 +0000 |
commit | 0b9d3d4dcd0561fbf674e09af1160f087eda535b (patch) | |
tree | f49951301ab51391d9c22e0a8ac68dabf9c87f8d /src/backend/utils/adt/regexp.c | |
parent | bdd6b62245fe7b5f25c4fec509b80ec930b6deff (diff) | |
download | postgresql-0b9d3d4dcd0561fbf674e09af1160f087eda535b.tar.gz postgresql-0b9d3d4dcd0561fbf674e09af1160f087eda535b.zip |
Fix a problem in my recent patch to initialize cancel_key for autovac workers
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.
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions