Re: can Function return a row ???

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tahira Aslam <tahira_aslam(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: can Function return a row ???
Date: 2002-05-13 05:52:47
Message-ID: 3CDF54AF.2090209@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tahira Aslam wrote:
> Dear postgresql Developers ..I need your help regarding postgresql
> funtion return type.I need to build a stored procedure like this
>
> "Select First_Name,Last_Name,Designation,Department,Telephone_No,Fax_No
> From "Document""
>
> But I can't get this whole row ...i can only extract single column like this
>
> SELECT "First_Name"(STP_SelectAllFromdocument());
>
> I am using postgresql 7.2 alongwith pgaccess.plz let me know how can i
> return a rowset from a function.
>

Sorry, but returning a composite (row) type does not work in 7.2.x or
before. It is being worked on now, and should be available in 7.3 when
it's released.

Joe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tahira Aslam 2002-05-13 06:29:47 Re: can Function return a row ???
Previous Message Tahira Aslam 2002-05-13 05:38:30 can Function return a row ???