From: Eliel Mamousette <eliel@panix.com>
To: pgsql-general@postgresql.org
Subject: SQL Server -> Postgres migration: Stored Procedure replacement?
Date: Sun, 29 Apr 2001 13:08:02 -0400
Message-ID: <000401c0d0ce$f3081f10$2001a8c0@blockhead> (raw)
In-Reply-To: <00e801c0cea6$dc848820$5a2510ac@corp.enron.com>
What's the standard methodology in the Postgres world for
creating functions (SQL Server calls them 'stored procedures')
that return more than one column of data per row?
I have tried using the SETOF operand in the CREATE FUNCTION
statement, and that allows me to return more than one row,
but haven't had any luck with specifying more than one return
type and hence more than one column.
Thanks in advance for any assistance,
eliel
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: eliel@panix.com, pgsql-general@postgresql.org
Subject: Re: SQL Server -> Postgres migration: Stored Procedure replacement?
In-Reply-To: <000401c0d0ce$f3081f10$2001a8c0@blockhead>
References: <00e801c0cea6$dc848820$5a2510ac@corp.enron.com> <000401c0d0ce$f3081f10$2001a8c0@blockhead>
* 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