Re: [GENERAL] PSQL Function() help.... - Mailing list pgsql-general

From omid omoomi
Subject Re: [GENERAL] PSQL Function() help....
Date
Msg-id 20000113085149.45693.qmail@hotmail.com
Whole thread Raw
Responses Re: [GENERAL] PSQL Function() help....  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
Hello,
Sure you can use arrays as returned results in your function.

regards.
Omid Omoomi


>From: Peter Eisentraut <peter_e@gmx.net>
>To: Dale Anderson <danderso@crystalsugar.com>
>CC: pgsql-general@postgresql.org
>Subject: Re: [GENERAL] PSQL Function()  help....
>Date: Wed, 12 Jan 2000 04:58:53 +0100
>
>On 2000-01-12, Dale Anderson mentioned:
>
> >     Here is what I am trying to do.  I an trying to create a function
> > that is passed two numbers, get_people(2000,1).  The first value is a
> > year, and the second is a week.  What I want the function to do, is to
> > select all the names from a name table, and return a list of names
> > that don't have an entry in the data table for the year, and week
> > specified.  Can this be done??
>
>No. Functions cannot return result sets. Certainly a deficiency, but
>nobody is perfect.
>
>
>--
>Peter Eisentraut                  Sernanders v�g 10:115
>peter_e@gmx.net                   75262 Uppsala
>http://yi.org/peter-e/            Sweden
>
>
>
>************
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


pgsql-general by date:

Previous
From: Julian Scarfe
Date:
Subject: Re: [GENERAL] Simulating an outer join
Next
From: Gabriel Fernandez
Date:
Subject: Confussion with table-lock levels and isolation levels