From f56221ca251ab71e3c5f6abc584548564f8ca3a3 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 6 May 2014 16:45:14 +0200 Subject: [PATCH] Add debugging line --- cartodb_hooks.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cartodb_hooks.sql b/cartodb_hooks.sql index 35a0d09..0950ec2 100644 --- a/cartodb_hooks.sql +++ b/cartodb_hooks.sql @@ -27,6 +27,8 @@ BEGIN -- CDB_CartodbfyTable must not create tables, or infinite loop will happen PERFORM cartodb.CDB_CartodbfyTable(event_info.relation); + RAISE DEBUG 'Inserting into cartodb.CDB_TableMetadata'; + -- Add entry to CDB_TableMetadata (should CartodbfyTable do this?) INSERT INTO cartodb.CDB_TableMetadata(tabname,updated_at) VALUES (event_info.relation, now());