postgresql7.1
select acs_object__name(:party_id)
from dual
select calendar_id,
calendar_name,
calendar__show_p(calendar_id, :party_id) as show_p
from calendars
where acs_permission__permission_p(calendar_id, :party_id, 'calendar_read') = 't'
and private_p='f'