Hi Pavel,
I tried on Windows, and it works. Thanks a lot.
BTW, I didn't succeed to find char(10) workaround because I tried at the end
of the line, where ... it doesn't work.
For instance check the function:
-- Function: r()
-- DROP FUNCTION r();
CREATE OR REPLACE FUNCTION r() RETURNS void AS
$BODY$begin
raise notice 'Break the 1st%line...', chr(10);
raise notice 'eol on 2nd line...%', chr(10);
raise notice '3rd line';
end; $BODY$ LANGUAGE 'plpgsql' VOLATILE COST 100;
ALTER FUNCTION r() OWNER TO postgres;
Run it: SELECT r()
And you get:
NOTICE: Break the 1st
line...NOTICE: eol on 2nd line...NOTICE: 3rd line