Re: arrays as pl/perl input arguments [PATCH]

David Wheeler <david@kineticode.com>

From: "David E. Wheeler" <david@kineticode.com>
To: Alexey Klyukin <alexk@commandprompt.com>
Cc: Tim Bunce <Tim.Bunce@pobox.com>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2011-02-03T16:52:50Z
Lists: pgsql-hackers
On Feb 3, 2011, at 4:23 AM, Alexey Klyukin wrote:

>> - Making the conversion lazy would be a big help.
> 
> Converting it to string is already lazy, and, per the argumens above, I don't
> see a real benefit of lazy conversion to the perl reference (as comparing to
> the hurdles of implementing that).

I agree that we should prefer an actual array as the implementation and lazily provide a string when needed.

Best,

David