diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-13 21:44:50 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-13 21:44:50 +0000 |
| commit | c472b8366f5bec1da4d5d5b894f47508bbc8d5d6 (patch) | |
| tree | 26615ebe830975a50b1698dece1286e1adecaa52 /contrib/tablefunc/tablefunc.sql.in | |
| parent | 94a13b8a117c134a18ae37764c5524874b479db2 (diff) | |
| download | postgresql-c472b8366f5bec1da4d5d5b894f47508bbc8d5d6.tar.gz | |
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/tablefunc.sql.in')
| -rw-r--r-- | contrib/tablefunc/tablefunc.sql.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tablefunc/tablefunc.sql.in b/contrib/tablefunc/tablefunc.sql.in index 2714db199c..f3d5d3d8a1 100644 --- a/contrib/tablefunc/tablefunc.sql.in +++ b/contrib/tablefunc/tablefunc.sql.in @@ -1,7 +1,7 @@ -- Adjust this setting to control where the objects get created. SET search_path = public; -CREATE OR REPLACE FUNCTION normal_rand(int4, float8, float8, int4) +CREATE OR REPLACE FUNCTION normal_rand(int4, float8, float8) RETURNS setof float8 AS 'MODULE_PATHNAME','normal_rand' LANGUAGE 'C' VOLATILE STRICT; |
