Revision 12558
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
1290 | 1290 |
-- |
1291 | 1291 |
|
1292 | 1292 |
CREATE FUNCTION eval(sql text, verbose_ boolean DEFAULT true) RETURNS void |
1293 |
LANGUAGE plpgsql STRICT
|
|
1293 |
LANGUAGE plpgsql |
|
1294 | 1294 |
AS $$ |
1295 | 1295 |
BEGIN |
1296 | 1296 |
IF verbose_ THEN PERFORM util.debug_print_sql(sql); END IF; |
Also available in: Unified diff
bugfix: schemas/util.sql: eval(): don't declare it STRICT because it should throw an error if you try to execute NULL