summaryrefslogtreecommitdiff
path: root/templates/snippets/sql-mode/primitive-return-function
blob: bb7e79e742da18d8df69f35c1752889f60832bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# key: fnp
# name: Create function with primitive return value.
# --
drop function if exists $1();
create or replace function $1(
       $0
)
returns $2 as $$
declare
begin

end;
$$ language plpgsql;