Open jarinwhalley opened 11 years ago
Can you please attach your sample output.
Output for the pgsql evaluator:
ERROR: syntax error at or near "581.833"
QUERY: 581.883 + 287.507
CONTEXT: PL/pgSQL function "algebra_pgsql" line 6 at EXECUTE statement
This statement should be prefixed with SELECT
SELECT 581.883 + 287.507;
If I put a "SELECT" statement in place of the "EXECUTE" statement, the function basically outputs the contents of the string.
No, I mean put SELECT
inside the string itself.
My code for the pgsql evaluator compiles without issues, but when I run it, it returns at or around the first number in the string str1.
code: https://github.com/jarinwhalley/User-Defined-Functions/blob/master/code/pgsql_evaluator