postgresql7.1 select object_id, acs_object__name(object_id) as name from acs_objects order by name