Postgresql Stored Procedure Select Example With Parameters