use sendQuery if no return is expected

This commit is contained in:
2019-08-04 19:36:13 +02:00
parent aeabe3f8c1
commit 81aebd815d
11 changed files with 82 additions and 14 deletions

View File

@@ -0,0 +1,8 @@
CREATE OR REPLACE FUNCTION function_void (name text default 'plop') returns void
LANGUAGE plpgsql
AS
$$
BEGIN
PERFORM 1;
END;
$$;

View File

@@ -0,0 +1 @@
delete FROM test where 2038538 = 2;