On 4/25/07, Pavel Stehule <pavel.stehule@hotmail.com> wrote:
> for me RETURNS TABLE (a,b) isn't equialent for (OUT a, OUT b) RETURNS SETOF
> RECORD, but
> it's eq. for RETURNS SETOF RECORD ... and SELECT FROM foo() AS (a, b).
>
> Reason:
>
> example: I have table with attr. cust_id, and I want to use parametrized
> view (table function) where I want to have attr cust_id on output.
You can use table aliases to avoid conflicts. (t.cust_id)
--
marko