I\'m trying to run this in PostgreSQL 9.2:
RAISE NOTICE \'hello, world!\';
And the server says:
Error : ERROR: syntax erro
raise is PL/pgSQL only.
raise
http://www.postgresql.org/docs/current/static/plpgsql-errors-and-messages.html
create or replace function r(error_message text) returns void as $$ begin raise notice '%', error_message; end; $$ language plpgsql; select r('an error message'); NOTICE: an error message