OSDN Git Service

XOR process PID into a backend's initial random seed, to ensure that
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Oct 2004 00:03:15 +0000 (00:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Oct 2004 00:03:15 +0000 (00:03 +0000)
commit52a45818a13bc32156ada02554eef76e1124b618
treea965aaaaa0586f9025905429a084d96e3410fdd4
parentf629583f944490b184c5c69f652c5bc067e85705
XOR process PID into a backend's initial random seed, to ensure that
different backends get a reasonably wide set of initial seeds even if
gettimeofday returns tv_usec values with only a few bits of precision.
Per recent discussion.
src/backend/postmaster/postmaster.c