From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Ezequiel Tolnay <mail@etolnay.com.ar>
Cc: pgsql-admin@postgresql.org
Subject: Re: functions vs stored procedures
Date: Fri, 15 Jul 2005 09:16:41 -0400
Message-ID: <20050715131641.GA26236@alvh.no-ip.org> (raw)
In-Reply-To: <db71hd$1eqd$1@news.hub.org>
References: <daj141$25ks$1@news.hub.org>
<14063.1121347025@sss.pgh.pa.us>
<db71hd$1eqd$1@news.hub.org>
On Fri, Jul 15, 2005 at 10:57:04AM +1000, Ezequiel Tolnay wrote:
> Thanks for the tip, but unfortunately id didn't address any of my
> concerns. I alreay use the version 8, and I'm aware of the possibility
> of using arrays for the results, which allows for some flexibility. But
> unfortunately arrays are not records, and I'm limited to values of the
> same types, and cannot refer the values from their column names. To
> create this function I also have to build the arrays for each result,
> casting all the values to text in a way that I would be able to convert
> back to the original value.
Wow, incredible. You misread the whole documentation.
--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"We are who we choose to be", sang the goldfinch
when the sun is high (Sandman)
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-admin@postgresql.org
Cc: alvherre@alvh.no-ip.org, mail@etolnay.com.ar
Subject: Re: functions vs stored procedures
In-Reply-To: <20050715131641.GA26236@alvh.no-ip.org>
References: <daj141$25ks$1@news.hub.org> <14063.1121347025@sss.pgh.pa.us> <db71hd$1eqd$1@news.hub.org> <20050715131641.GA26236@alvh.no-ip.org>
* 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