Re: [HACKERS] PLPGSQL and Exceptions

2002-07-14 Thread Tom Lane
Rod Taylor <[EMAIL PROTECTED]> writes: > Likewise, the below fails to compile due to error message being an > expression. I know this one used to work not all that long ago. > Digging through 7.0 docs even found an example of it. No, it never worked; that's why it was taken out of the docs. Th

[HACKERS] PLPGSQL and Exceptions

2002-07-14 Thread Rod Taylor
RAISE seems to be quite wonky. The below function fails to compile due to the function call in the arguement. create function test(text) returns bool as ' begin raise exception ''test %'', quote_literal($1); return false; end; ' language plpgsql; Likewise, the below fails to compil