summaryrefslogtreecommitdiff
path: root/tests/files/function_psql2.sql
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/function_psql2.sql')
-rw-r--r--tests/files/function_psql2.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/files/function_psql2.sql b/tests/files/function_psql2.sql
new file mode 100644
index 0000000..b5d494c
--- /dev/null
+++ b/tests/files/function_psql2.sql
@@ -0,0 +1,7 @@
+CREATE OR REPLACE FUNCTION update_something() RETURNS void AS
+$body$
+BEGIN
+ raise notice 'foo';
+END;
+$body$
+LANGUAGE 'plpgsql' VOLATILE CALLED ON NULL INPUT SECURITY INVOKER; \ No newline at end of file