removing raise notices and lower test bounds

This commit is contained in:
Andy Eschbacher
2015-09-03 22:43:25 -04:00
parent d00e71309d
commit 83b7f47617
2 changed files with 1 additions and 5 deletions

View File

@@ -18,8 +18,6 @@ DECLARE
BEGIN
SELECT AVG(e), COUNT(e)::numeric, stddev(e) INTO a, c, s FROM ( SELECT unnest(in_array) e ) x;
RAISE NOTICE 'avg: %, cnt: %, std: %', a, c, s;
EXECUTE 'SELECT sum(power($1 - e, 4)) / ( $2 * power($3, 4)) - 3
FROM (SELECT unnest($4) e ) x'
INTO k
@@ -39,8 +37,6 @@ DECLARE
BEGIN
SELECT AVG(e), COUNT(e)::numeric, stddev(e) INTO a, c, s FROM ( SELECT unnest(in_array) e ) x;
RAISE NOTICE 'avg: %, cnt: %, std: %', a, c, s;
EXECUTE 'SELECT sum(power($1 - e, 3)) / ( $2 * power($3, 3))
FROM (SELECT unnest($4) e ) x'
INTO sk

View File

@@ -3,7 +3,7 @@
With dist As (
SELECT random()::numeric As val
FROM generate_series(1,5000000) t
FROM generate_series(1,50000) t
)
SELECT