postgresql7.1 select dotlrn_users.id, dotlrn_users.first_names, dotlrn_users.last_name, dotlrn_users.email, dotlrn_users.type, dotlrn_privacy__guest_p(:user_id) as guest_p from dotlrn_users where dotlrn_users.user_id = :user_id