cartodb-postgresql/test/CDB_CartodbfyTableTest_expect
Sandro Santilli ce20009fb2 Workaround PostgreSQL bug possibly triggering infinite loops
Implements casting of existing system column values during
cartodbfication using ALTER rather than UPDATE.

It's faster for tables with many rows and works around a
longstanding PostgreSQL bug. See
http://www.postgresql.org/message-id/20140530143150.GA11051@localhost

CDB-3059
2014-05-30 19:24:19 +02:00

52 lines
1017 B
Plaintext

SET
CREATE FUNCTION
SELECT 1
ERROR: Please set user quota before cartodbfying tables.
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
text timestamps cartodbfied fine
0|0
CREATE VIEW
cartodbfied with view cartodbfied fine
DROP VIEW
DROP TABLE
SELECT 1
text cartodb_id cartodbfied fine
5
DROP TABLE
SELECT 1
uncasting text cartodb_id cartodbfied fine
1|nan
DROP TABLE
SELECT 1
unsequenced cartodb_id cartodbfied fine
1
DROP TABLE
CREATE TABLE
null geom and timestamp values cartodbfied fine
DROP TABLE
DROP FUNCTION
DROP FUNCTION