request: support of array in plperl OUT arguments

Started by Pavel Stehulealmost 20 years ago3 messageshackers
Jump to latest
#1Pavel Stehule
pavel.stehule@gmail.com

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/

#2David Fetter
david@fetter.org
In reply to: Pavel Stehule (#1)
Re: request: support of array in plperl OUT arguments

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!

Attachments:

plperl-out.difftext/plain; charset=us-asciiDownload+157-35
#3Bruce Momjian
bruce@momjian.us
In reply to: David Fetter (#2)
Re: request: support of array in plperl OUT arguments

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. +