postgresql7.1 select type_id, interval_id, acs_object__name(notification_requests.object_id) as object_name from notification_requests where request_id = :request_id