On 11/04/2015 08:39 AM, Nicole wrote:
> DECLARE
> recurrence Client_Appointment_Recurrences;
This is not a bug and not the appropriate list for a question. That
said, try this:
8<------------------
CREATE TABLE "Client_Appointment_Recurrences" (id int);
CREATE OR REPLACE FUNCTION test() RETURNS text AS $$
DECLARE
recurrence "Client_Appointment_Recurrences";
BEGIN
RETURN 'ok';
END$$ LANGUAGE plpgsql;
SELECT test();
test
------
ok
(1 row)
8<------------------
HTH,
Joe
--=20
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development