I'd like to know how to create stored procedures in PostgreSQL, I am working with functions, but the problem that I have is with the function returning one variable. I am interested in knowing how to return multiple variables. and used language plpgsql.