diff --git a/impls/plpgsql/step2_eval.sql b/impls/plpgsql/step2_eval.sql index abbf5168f0..dd59082216 100644 --- a/impls/plpgsql/step2_eval.sql +++ b/impls/plpgsql/step2_eval.sql @@ -82,10 +82,8 @@ DECLARE evda0 integer; result integer; BEGIN - - RAISE NOTICE 'pr_str ast: %', ast; - RAISE NOTICE 'pr_str type: %', (SELECT type_id FROM types.value WHERE value_id = ast); -; + PERFORM io.writeline(format('EVAL: %s [%s] [%s]', mal.PRINT(ast), ast, + (SELECT type_id FROM types.value WHERE value_id = ast))); CASE type_id FROM types.value WHERE value_id = ast WHEN 7 THEN RETURN mal.eval_symbol(ast, env);