I want to write a function with pl/pgsql. I\'m using PostgresEnterprise Manager v3 and using shell to make a function, but in the shell I must define retu
pl/pgsql
Functions must always return something, although you can use procedures like
do $$
and start with normal function like
declare ...
but if you still want to do a function just add void after returns.