70 lines
1.8 KiB
Text
70 lines
1.8 KiB
Text
================================================================================
|
|
dummy
|
|
================================================================================
|
|
do $$ begin
|
|
raise;
|
|
end $$;
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(do_block
|
|
(block
|
|
(dollar_quote)
|
|
(body
|
|
(raise_statement))
|
|
(dollar_quote))))
|
|
|
|
================================================================================
|
|
basic
|
|
================================================================================
|
|
do $$ begin
|
|
raise 'alarms';
|
|
end $$;
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(do_block
|
|
(block
|
|
(dollar_quote)
|
|
(body
|
|
(raise_statement
|
|
(string)))
|
|
(dollar_quote))))
|
|
|
|
================================================================================
|
|
with level
|
|
================================================================================
|
|
do $$ begin
|
|
raise notice 'alarms';
|
|
end $$;
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(do_block
|
|
(block
|
|
(dollar_quote)
|
|
(body
|
|
(raise_statement
|
|
(identifier)
|
|
(string)))
|
|
(dollar_quote))))
|
|
|
|
================================================================================
|
|
with level and args
|
|
================================================================================
|
|
do $$ begin
|
|
raise notice 'alarms %d', _foo, bar;
|
|
end $$;
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(do_block
|
|
(block
|
|
(dollar_quote)
|
|
(body
|
|
(raise_statement
|
|
(identifier)
|
|
(string)
|
|
(identifier)
|
|
(identifier)))
|
|
(dollar_quote))))
|