Re: arrays as pl/perl input arguments [PATCH] - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: arrays as pl/perl input arguments [PATCH]
Date
Msg-id 1640895E-1F06-4D9B-9C0B-CF3BA5330634@kineticode.com
Whole thread Raw
In response to Re: arrays as pl/perl input arguments [PATCH]  (Alexey Klyukin <alexk@commandprompt.com>)
List 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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: is_absolute_path incorrect on Windows
Next
From: Dimitri Fontaine
Date:
Subject: Re: ALTER EXTENSION UPGRADE, v3