summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMarko Kreen2007-10-30 10:45:15 +0000
committerMarko Kreen2007-10-30 10:45:15 +0000
commitf240cb1b7dccbb8cc8e5097b7fd450e01648efa0 (patch)
tree99c3f22acc8628d6e6c91193ff122c36a4ff0dda /sql
parentc8ade1498df6e2b8f6df590c3131f9aba924eec1 (diff)
insert a successful func inbetween
Diffstat (limited to 'sql')
-rw-r--r--sql/plproxy_errors.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/plproxy_errors.sql b/sql/plproxy_errors.sql
index 60fec3d..09bdf81 100644
--- a/sql/plproxy_errors.sql
+++ b/sql/plproxy_errors.sql
@@ -21,6 +21,14 @@ returns text as $$
$$ language plproxy;
select * from test_err3('dat');
+-- should work
+create function test_err_none(dat text)
+returns text as $$
+ cluster 'testcluster';
+ run on hashtext($1);
+ select 'ok';
+$$ language plproxy;
+select * from test_err_none('dat');
--- result map errors
create function test_map_err1(dat text)