Re: Trouble accessing %ROWTYPE attributes returned by function - Mailing list pgsql-novice

From Tom Lane
Subject Re: Trouble accessing %ROWTYPE attributes returned by function
Date
Msg-id 15363.1281025253@sss.pgh.pa.us
Whole thread Raw
In response to Trouble accessing %ROWTYPE attributes returned by function  (Leon Starr <leon_starr@modelint.com>)
Responses Re: Trouble accessing %ROWTYPE attributes returned by function
List pgsql-novice
Leon Starr <leon_starr@modelint.com> writes:
> BAD (attributes concatenated)  why?
> contracts=# select getContracts();
>   getcontracts
> -----------------
>  (1,USGE,Renew)
>  (2,USGE,Renew)
>  (3,USGE,Renew)

This is expected.  Try doing this if you want to "explode" the
sub-columns:

    select * from getContracts();

            regards, tom lane

pgsql-novice by date:

Previous
From: LaboRecherche
Date:
Subject: Re: Looking for SKYLINE command
Next
From: Jaime Casanova
Date:
Subject: Re: Looking for SKYLINE command