From: Roberto Mello <rmello@cc.usu.edu>
To: Andrzej Roszkowski <thomas@polcard.com.pl>
Cc: pgsql-sql@postgresql.org
Subject: Re: PL/PGSQL
Date: Tue, 12 Jun 2001 13:48:14 -0600
Message-ID: <20010612134814.A7667@cc.usu.edu> (raw)
In-Reply-To: <Pine.LNX.4.21.0106050815130.12363-100000@thomas.polcard.com.pl>
References: <Pine.LNX.4.21.0106050815130.12363-100000@thomas.polcard.com.pl>
On Tue, Jun 05, 2001 at 08:18:03AM +0200, Andrzej Roszkowski wrote:
> Hi!
> I can't find any info about possible data types that can be returned from
> procedure. I want to return tuple. When I use OPAQUE as a return type I
> get error message that OPAQUE can be only returned from trigger. It is
> possible to do this without triggers?
A little RTFM'ing wouldn't hurt.
Currently you can't return tuples from "regular" PL/pgSQL functions.
It heard this functionality will make it in 7.2.
-Roberto
--
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
Roberto Mello - Computer Science, USU - http://www.brasileiro.nethttp://www.sdl.usu.edu - Space Dynamics Lab, Developer
Death to all fanatics!!!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: rmello@cc.usu.edu, thomas@polcard.com.pl
Subject: Re: PL/PGSQL
In-Reply-To: <20010612134814.A7667@cc.usu.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox