postgresql7.1 select party_id, acs_object__name(party_id) as name from parties