Re: Trouble accessing %ROWTYPE attributes returned by function

Поиск
Список
Период
Сортировка
От Leon Starr
Тема Re: Trouble accessing %ROWTYPE attributes returned by function
Дата
Msg-id 168BF459-B851-4F23-94AB-7790EB324F9E@modelint.com
обсуждение исходный текст
Ответ на Re: Trouble accessing %ROWTYPE attributes returned by function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Thanks, that does the trick and makes perfect sense.  (I was eventually able to find a couple of threads on the same
topicin this group).  Less embarrassing since this is the 'novice' section! 

- Leon

On Aug 5, 2010, at 9:20 AM, Tom Lane wrote:

> 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Looking for SKYLINE command
Следующее
От: Rikard Bosnjakovic
Дата:
Сообщение: Re: Table-design for categories, suggestions needed