This (setof functions) will be supported in jOOQ 3.6 only:
https://github.com/jOOQ/jOOQ/issues/3376

Cheers,
Lukas

2015-04-06 18:32 GMT+02:00 Ildar Ov <[email protected]>:

> Hi Lukas!
> I have function in PostgrteSQL , using JOOQ 3.5.0. Maven plugin runs for
> generating functions. This function doesn't, but table with the same name
> generates. Is it my mistake or bug?
> Thanks in advance.
>
> CREATE OR REPLACE FUNCTION chasdb.gettest(vals text[] )
>   RETURNS SETOF text AS
> $BODY$
>   DECLARE
>     txt         TEXT;
>     result      TEXT;
>   BEGIN
>     FOREACH txt IN ARRAY vals LOOP
>
>       RETURN NEXT txt;
>     END LOOP;
>
>     EXCEPTION WHEN OTHERS THEN
>     BEGIN
>
>     END;
>   END;
> $BODY$
>   LANGUAGE plpgsql VOLATILE
>   COST 100
>   ROWS 1000;
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to