cartodb-postgresql/test/CDB_RectangleTest.sql
Javier Goizueta 0a0f2e294b Fix tests
2018-02-15 10:27:19 +01:00

9 lines
315 B
SQL

set client_min_messages to error;
\set VERBOSITY TERSE
-- Check small grids are generated...
SELECT COUNT(*) FROM cartodb.CDB_RectangleGrid(ST_MakeEnvelope(0,0,1000,1000,3857), 10, 10);
-- But large grids produce an error
SELECT COUNT(*) FROM cartodb.CDB_RectangleGrid(ST_MakeEnvelope(0,0,1000,1000,3857), 1, 1);