With Joe Conway's concurrence, remove srandom() call from normal_rand().
Tom Lane <tgl@sss.pgh.pa.us>
With Joe Conway's concurrence, remove srandom() call from normal_rand(). This was the last piece of code that took it upon itself to reset the random number sequence --- now we only have srandom() in postmaster start, backend start, and explicit setseed() operations.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/tablefunc/expected/tablefunc.out | modified | +1 −1 |
| contrib/tablefunc/README.tablefunc | modified | +4 −7 |
| contrib/tablefunc/sql/tablefunc.sql | modified | +1 −1 |
| contrib/tablefunc/tablefunc.c | modified | +2 −8 |
| contrib/tablefunc/tablefunc.sql.in | modified | +1 −1 |