summaryrefslogtreecommitdiffstats
path: root/src/pl/plpython/sql/plpython_do.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/pl/plpython/sql/plpython_do.sql')
-rw-r--r--src/pl/plpython/sql/plpython_do.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pl/plpython/sql/plpython_do.sql b/src/pl/plpython/sql/plpython_do.sql
new file mode 100644
index 0000000..0e281a0
--- /dev/null
+++ b/src/pl/plpython/sql/plpython_do.sql
@@ -0,0 +1,5 @@
+DO $$ plpy.notice("This is plpythonu.") $$ LANGUAGE plpythonu;
+
+DO $$ plpy.notice("This is plpython2u.") $$ LANGUAGE plpython2u;
+
+DO $$ raise Exception("error test") $$ LANGUAGE plpythonu;