Fetching a single column from a record returning function

Поиск
Список
Период
Сортировка
От Kumar
Тема Fetching a single column from a record returning function
Дата
Msg-id 005101c3df24$2662ed20$7502a8c0@hdsc.com
обсуждение исходный текст
Ответы Re: Fetching a single column from a record returning function
Re: Fetching a single column from a record returning function
Список pgsql-sql
Hi Friends,
 
Postgres 7.3.4 on RH Linux 7.2
 
I am using a record variable inside a functions and fetch the result via the follow command
 
select * from .fn_email(1)
as (email_folder_id int4,email_folder_name varchar,descrip varchar,msgcount int8,unreadcount int8,size int8);
 
 
Is it possible to fetch only one column (the 'msgcount') from the function. Because I am interested in SUM(msgcount).  Please shed some light.
 
Regards
kumar

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Denis"
Дата:
Сообщение: Re: Database diagram
Следующее
От: Roberto Mello
Дата:
Сообщение: Re: Database diagram