Select function with set return type

From: "Nacef LABIDI" <nacef(dot)l(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Select function with set return type
Date: 2008-08-18 11:03:07
Message-ID: f16f7ea00808180403v7a3bada7gc03e4bfc4f7ede0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi all,

I am writing some functions with retrun type as a SETOF of a datatype that I
have defined. How can I test them with a select statement.
Doing select my_function(); return set valued function called in context
that cannot accept a set

Thanks to all

Nacef

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas Kretschmer 2008-08-18 11:12:14 Re: Select function with set return type
Previous Message A. Kretschmer 2008-08-18 10:50:28 Re: INSERT or UPDATE