Re: Trouble accessing %ROWTYPE attributes returned by function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trouble accessing %ROWTYPE attributes returned by function
Дата
Msg-id 15363.1281025253@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trouble accessing %ROWTYPE attributes returned by function  (Leon Starr <leon_starr@modelint.com>)
Ответы Re: Trouble accessing %ROWTYPE attributes returned by function  (Leon Starr <leon_starr@modelint.com>)
Список 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 по дате отправления:

Предыдущее
От: LaboRecherche
Дата:
Сообщение: Re: Looking for SKYLINE command
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: Looking for SKYLINE command