900531f0c1
Comment out tests that check cartodb_id text columns. These are no longer taken into consideration as candidate primary ID (candidate columns should be numeric).
40 lines
949 B
Plaintext
40 lines
949 B
Plaintext
SET
|
|
CREATE FUNCTION
|
|
SELECT 1
|
|
ERROR: Please set user quota before cartodbfying tables.
|
|
CONTEXT: SQL statement "SELECT cartodb._CDB_check_prerequisites(destschema, reloid)"
|
|
PL/pgSQL function cdb_cartodbfytable(text,regclass) line 21 at PERFORM
|
|
0
|
|
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
|
|
SELECT 1
|
|
unsequenced cartodb_id cartodbfied fine
|
|
1
|
|
DROP TABLE
|
|
CREATE TABLE
|
|
cartodb_id serial primary key cartodbfied fine
|
|
t_pkey|cartodb_id
|
|
DROP TABLE
|
|
DROP FUNCTION
|
|
DROP FUNCTION
|