fixed security problem

This commit is contained in:
javi
2015-02-12 10:57:12 +01:00
parent ee8a031ea0
commit 0223d00a54
3 changed files with 6 additions and 5 deletions

View File

@@ -16,11 +16,6 @@ BEGIN
FOR rec IN SELECT CDB_QueryStatements(query) q LOOP
IF NOT ( rec.q ilike 'select %' or rec.q ilike 'with %' ) THEN
--RAISE WARNING 'Skipping %', rec.q;
CONTINUE;
END IF;
BEGIN
EXECUTE 'EXPLAIN (FORMAT XML, VERBOSE) ' || rec.q INTO STRICT exp;
EXCEPTION WHEN others THEN