how to call stored function in postgresql