tree-sitter-plpgsql/corpus/plpgsql/get_diagnostics_statement.txt
Christian De la Hoz fa4317ba96 get diagnostics
2021-09-01 19:15:50 +02:00

25 lines
687 B
Text

================================================================================
get diagnostics
================================================================================
DO $$
BEGIN
get current diagnostics foo = ROW_COUNT;
get diagnostics bar := ROW_COUNT;
END
$$;
--------------------------------------------------------------------------------
(source_file
(do_block
(block
(dollar_quote)
(body
(get_diagnostics_statement
(assign_statement
(identifier)
(identifier)))
(get_diagnostics_statement
(assign_statement
(identifier)
(identifier))))
(dollar_quote))))