diff options
| author | Tom Lane | 2003-09-13 21:44:50 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-09-13 21:44:50 +0000 |
| commit | c472b8366f5bec1da4d5d5b894f47508bbc8d5d6 (patch) | |
| tree | 26615ebe830975a50b1698dece1286e1adecaa52 /contrib/tablefunc/expected | |
| parent | 94a13b8a117c134a18ae37764c5524874b479db2 (diff) | |
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.
Diffstat (limited to 'contrib/tablefunc/expected')
| -rw-r--r-- | contrib/tablefunc/expected/tablefunc.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tablefunc/expected/tablefunc.out b/contrib/tablefunc/expected/tablefunc.out index fa69cf3b4a..2e412e5cfa 100644 --- a/contrib/tablefunc/expected/tablefunc.out +++ b/contrib/tablefunc/expected/tablefunc.out @@ -7,7 +7,7 @@ -- normal_rand() -- no easy way to do this for regression testing -- -SELECT avg(normal_rand)::int FROM normal_rand(100, 250, 0.2, EXTRACT(SECONDS FROM CURRENT_TIME(0))::int); +SELECT avg(normal_rand)::int FROM normal_rand(100, 250, 0.2); avg ----- 250 |
