我试图运行在Postgresql 9.2:
RAISE NOTICE 'hello,world!';
服务器说:@H_403_4@
Error : ERROR: Syntax error at or near "RAISE" LINE 1: RAISE NOTICE 'hello,world!' ^
为什么?@H_403_4@
使用匿名
code block:
DO language plpgsql $$ BEGIN RAISE NOTICE 'hello,world!'; END $$;
Variables are referenced使用%:@H_403_4@
RAISE NOTICE '%',variable_name;