Can PL/PGSQL function return multiple SETOFs - Mailing list pgsql-general

From
Subject Can PL/PGSQL function return multiple SETOFs
Date
Msg-id 50BF226E06604FF7A100BAA61325AF5D@nc05072019
Whole thread Raw
In response to How best to implement a multi-table constraint?  ("Karl Nack" <pglists@futurityinc.com>)
Responses Re: Can PL/PGSQL function return multiple SETOFs  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-general
Is something like this possible?
CREATE testsetof( IN toad_id integer)   RETURNS SETOF road_table, SETOF int4
AS $BODY$....

If yes, is this the way to do 'RETURN NEXT'?
    RETURN NEXT road_table_row, an_integer;

Thanks
CYW



pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: [HACKERS] Debian no longer dumps cores?
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Hot Standby utility and administrator functions