Given this function body:
DECLARE
recurrence Client_Appointment_Recurrences;
...
BEGIN
...
END
and a table called "Client_Appointment_Recurrences", the message is
"ERROR: type client_appointment_recurrences does not exist".
Rename the table to "client_appointment_recurrences" and the error vanishes
Regards
Nicole