> I searched on postgreSql site and found> a topic "Stored Procedure Example". But actually, they> showed how to write a function on postgreSql database.
A procedure is a function with a return type of void.