Re: plpgsql return setof integer?
От | Christopher Murtagh |
---|---|
Тема | Re: plpgsql return setof integer? |
Дата | |
Msg-id | 1068698575.3924.23.camel@mafalda.murtagh.name обсуждение исходный текст |
Ответ на | Re: plpgsql return setof integer? (Alvaro Herrera <alvherre@dcc.uchile.cl>) |
Ответы |
Re: plpgsql return setof integer?
|
Список | 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 по дате отправления: