diff --git a/test/CDB_CartodbfyTableTest.sql b/test/CDB_CartodbfyTableTest.sql index 3e5658e..1963eaf 100644 --- a/test/CDB_CartodbfyTableTest.sql +++ b/test/CDB_CartodbfyTableTest.sql @@ -134,9 +134,9 @@ DROP TABLE t; -- table with single non-geometrical column CREATE TABLE t AS SELECT ST_SetSRID(ST_MakePoint(-1,-1),4326) as the_geom, 1::int as cartodb_id, 'this is a sentence' as description; SELECT CDB_CartodbfyTableCheck('t', 'check function idempotence'); -SELECT * FROM t; +SELECT cartodb_id, the_geom, description FROM t; SELECT CDB_CartodbfyTableCheck('t', 'check function idempotence'); -SELECT * FROM t; +SELECT cartodb_id, the_geom, description FROM t; DROP TABLE t; -- table with existing srid-unconstrained (but type-constrained) the_geom diff --git a/test/CDB_CartodbfyTableTest_expect b/test/CDB_CartodbfyTableTest_expect index 9939598..c5030a0 100644 --- a/test/CDB_CartodbfyTableTest_expect +++ b/test/CDB_CartodbfyTableTest_expect @@ -7,9 +7,9 @@ single non-geometrical column cartodbfied fine DROP TABLE SELECT 1 check function idempotence cartodbfied fine -1|0101000020E6100000000000000000F0BF000000000000F0BF|0101000020110F0000DB0B4ADA772DFBC077432E49D22DFBC0|this is a sentence +1|0101000020E6100000000000000000F0BF000000000000F0BF|this is a sentence check function idempotence cartodbfied fine -1|0101000020E6100000000000000000F0BF000000000000F0BF|0101000020110F0000DB0B4ADA772DFBC077432E49D22DFBC0|this is a sentence +1|0101000020E6100000000000000000F0BF000000000000F0BF|this is a sentence DROP TABLE SELECT 1 srid-unconstrained the_geom cartodbfied fine diff --git a/test/CDB_SyncTableTest.sql b/test/CDB_SyncTableTest.sql index fc2711e..5b945ae 100644 --- a/test/CDB_SyncTableTest.sql +++ b/test/CDB_SyncTableTest.sql @@ -51,7 +51,7 @@ UPDATE test_sync_dest SET the_geom = cartodb.CDB_LatLng(lat, lon); -- A "gecodin SET client_min_messages TO notice; SELECT cartodb.CDB_SyncTable('test_sync_source', 'public', 'test_sync_dest', '{the_geom, the_geom_webmercator}'); SELECT * FROM test_sync_source ORDER BY cartodb_id; -SELECT * FROM test_sync_dest ORDER BY cartodb_id; +SELECT cartodb_id, the_geom, lat, lon, name FROM test_sync_dest ORDER BY cartodb_id; \echo 'It will work with schemas that need quoting' \set QUIET on diff --git a/test/CDB_SyncTableTest_expect b/test/CDB_SyncTableTest_expect index 01cb358..9e0c8df 100644 --- a/test/CDB_SyncTableTest_expect +++ b/test/CDB_SyncTableTest_expect @@ -54,10 +54,10 @@ NOTICE: MODIFIED 0 row(s) 2|||2|2|bar 4|||4|4|cantaloupe 5|||5|5|sandia -1|0101000020E6100000000000000000F03F000000000000F03F|0101000020110F0000DB0B4ADA772DFB402B432E49D22DFB40|1|1|foo -2|0101000020E610000000000000000000400000000000000040|0101000020110F00003C0C4ADA772D0B4177F404ABE12E0B41|2|2|bar -4|0101000020E610000000000000000010400000000000001040|0101000020110F00003C0C4ADA772D1B4160AB497020331B41|4|4|cantaloupe -5|0101000020E610000000000000000014400000000000001440|0101000020110F000099476EE86AFC20413E7EB983F2012141|5|5|sandia +1|0101000020E6100000000000000000F03F000000000000F03F|1|1|foo +2|0101000020E610000000000000000000400000000000000040|2|2|bar +4|0101000020E610000000000000000010400000000000001040|4|4|cantaloupe +5|0101000020E610000000000000000014400000000000001440|5|5|sandia It will work with schemas that need quoting INSERT 0 1