Обсуждение: request: support of array in plperl OUT arguments

Поиск
Список
Период
Сортировка

request: support of array in plperl OUT arguments

От
"Pavel Stehule"
Дата:
Hello,

I miss better support OUT arguments in plerlu:

create or replace function foo(out p varchar[]) as $$ return { p => [pavel, 
jana] }; $$ language plperlu;
postgres=# select foo();
ERROR:  array value must start with "{" or dimension information
postgres=#

I starting work on it. I hope It will be done before current feature freeze.

Regards
Pavel Stehule

_________________________________________________________________
Najdete si svou lasku a nove pratele na Match.com. http://www.msn.cz/



Re: request: support of array in plperl OUT arguments

От
David Fetter
Дата:
On Fri, Jul 28, 2006 at 10:42:49AM +0200, Pavel Stehule wrote:
> Hello,
>
> I miss better support OUT arguments in plerlu:
>
> create or replace function foo(out p varchar[]) as $$ return { p => [pavel,
> jana] }; $$ language plperlu;
> postgres=# select foo();
> ERROR:  array value must start with "{" or dimension information
> postgres=#
>
> I starting work on it. I hope It will be done before current feature freeze.
>
> Regards
> Pavel Stehule

It seems Pavel missed sending the preliminary patch, so here it is :)

Cheers,
D
--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

Вложения

Re: request: support of array in plperl OUT arguments

От
Bruce Momjian
Дата:
Seems Pavel has submitted the patch now, and I place it in the patch
queue.

---------------------------------------------------------------------------

David Fetter wrote:
> On Fri, Jul 28, 2006 at 10:42:49AM +0200, Pavel Stehule wrote:
> > Hello,
> > 
> > I miss better support OUT arguments in plerlu:
> > 
> > create or replace function foo(out p varchar[]) as $$ return { p => [pavel, 
> > jana] }; $$ language plperlu;
> > postgres=# select foo();
> > ERROR:  array value must start with "{" or dimension information
> > postgres=#
> > 
> > I starting work on it. I hope It will be done before current feature freeze.
> > 
> > Regards
> > Pavel Stehule
> 
> It seems Pavel missed sending the preliminary patch, so here it is :)
> 
> Cheers,
> D
> -- 
> David Fetter <david@fetter.org> http://fetter.org/
> phone: +1 415 235 3778        AIM: dfetter666
>                               Skype: davidfetter
> 
> Remember to vote!

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +