Re: plpgsql return setof integer? - Mailing list pgsql-general

From Christopher Murtagh
Subject Re: plpgsql return setof integer?
Date
Msg-id 1068698575.3924.23.camel@mafalda.murtagh.name
Whole thread Raw
In response to Re: plpgsql return setof integer?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: plpgsql return setof integer?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-general
On Wed, 2003-11-12 at 22:57, Alvaro Herrera wrote:
> You are initializing the array incorrectly in your htdig(text, text)
> function.  {} is the hash reference you are seeing; HASH(0xwhatever) is
> its text representation.  Do
>
>  my @Result = ();
>
> instead, or leave it uninitialized.

 Thanks once again. You've really helped a lot on this. I especially
liked your 'return qq/{"/ . (join qq/","/, @_) . qq/"}/;' code. If you
were in Montreal, I would owe you a dinner or at least a coffee and a
big thanks. If you ever come this way, please be sure to give me a call.
Thanks again!

Cheers,

Chris

--
Christopher Murtagh
Enterprise Systems Administrator
ISR / Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: embedded postgresql
Next
From: "Craig O'Shannessy"
Date:
Subject: Re: RHEL