Postgresql Stored Procedure Select Example With Sheer