why handling of input arrays in plperl is unusable?

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: why handling of input arrays in plperl is unusable?
Date: 2008-07-31 13:10:21
Message-ID: 20080731131021.GA4075@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I tried to write a variadic function with pl/perl, but apparently arrays
are passed to pl/perl in their textout format.
Parsing it in pl/perl is possible but *very* cumbersome. Is there any
plan to add some sanity to passing arrays to plperl function?
I can already return [1,2,3], so maybe such transition on input wouldn't
be impossible?

Best regards,

depesz

--
Linked in: http://www.linkedin.com/in/depesz
jid/gtalk: depesz(at)depesz(dot)com
aim: depeszhdl
skype: depesz_hdl

Browse pgsql-general by date

  From Date Subject
Next Message Rob Richardson 2008-07-31 13:26:16 Re: How do I specify intervals in functions?
Previous Message Rob Richardson 2008-07-31 12:57:58 Re: How do I specify intervals in functions?