Add debugging line

This commit is contained in:
Sandro Santilli 2014-05-06 16:45:14 +02:00
parent 255332f949
commit f56221ca25

View File

@ -27,6 +27,8 @@ BEGIN
-- CDB_CartodbfyTable must not create tables, or infinite loop will happen -- CDB_CartodbfyTable must not create tables, or infinite loop will happen
PERFORM cartodb.CDB_CartodbfyTable(event_info.relation); PERFORM cartodb.CDB_CartodbfyTable(event_info.relation);
RAISE DEBUG 'Inserting into cartodb.CDB_TableMetadata';
-- Add entry to CDB_TableMetadata (should CartodbfyTable do this?) -- Add entry to CDB_TableMetadata (should CartodbfyTable do this?)
INSERT INTO cartodb.CDB_TableMetadata(tabname,updated_at) INSERT INTO cartodb.CDB_TableMetadata(tabname,updated_at)
VALUES (event_info.relation, now()); VALUES (event_info.relation, now());