Import cartodb/lib/sql/test, add search_path tweaker

This commit is contained in:
Sandro Santilli
2014-05-05 18:48:48 +02:00
parent 5e28417b3d
commit 0960276046
30 changed files with 556 additions and 22 deletions
+26
View File
@@ -0,0 +1,26 @@
SET
CREATE FUNCTION
SELECT 1
single non-geometrical column cartodbfied fine
DROP TABLE
SELECT 1
srid-unconstrained the_geom cartodbfied fine
DROP TABLE
SELECT 2
mixed-srid the_geom cartodbfied fine
extent|BOX(-1 -1,0 0)
DROP TABLE
SELECT 1
wrong srid-constrained the_geom cartodbfied fine
extent|BOX(1 1,2 2)|BOX(111319 111325,222639 222684)
DROP TABLE
SELECT 1
wrong srid-constrained the_geom_webmercator cartodbfied fine
extent|BOX(1 1,2 2)
DROP TABLE
SELECT 1
CREATE TRIGGER
trigger-protected the_geom cartodbfied fine
extent|BOX(1 1,2 2)
DROP TABLE
DROP FUNCTION