Raise min message so we don't have to validate notices

This commit is contained in:
Raul Ochoa 2015-09-04 00:02:30 +02:00
parent 29efdf2ee7
commit 25cf48d4a4
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,6 @@
-- continuous uniform distribution has kurtosis = -6/5, skewness = 0.0
-- http://mathworld.wolfram.com/UniformDistribution.html
set client_min_messages to ERROR;
With dist As (
SELECT random()::numeric As val
@ -10,4 +11,6 @@ SELECT
-- does random dist values match within 1% of known values
abs(CDB_Kurtosis(array_agg(val)) + 1.20) < 1e-2 As kurtosis,
abs(CDB_Skewness(array_agg(val)) - 0) < 1e-2 As skewness
FROM dist
FROM dist;
set client_min_messages to NOTICE;

View File

@ -1 +1,3 @@
true|true
SET
t|t
SET