repo.or.cz
/
sqlgg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
opam: update
[sqlgg.git]
/
test
/
function.sql
blob
80d1ae57391de1638658e475a37435d57f4659cc
1
CREATE OR REPLACE FUNCTION increment(i INT) RETURNS INT AS $$
2
BEGIN
3
RETURN i + 1;
4
END;
5
$$ LANGUAGE plpgsql;
6
7
SELECT increment(2);