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

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Alexey Klyukin <alexk(at)commandprompt(dot)com>
Cc: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>, pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: arrays as pl/perl input arguments [PATCH]
Date: 2011-02-03 16:52:50
Message-ID: 1640895E-1F06-4D9B-9C0B-CF3BA5330634@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2011-02-03 16:53:50 Re: ALTER EXTENSION UPGRADE, v3
Previous Message Bruce Momjian 2011-02-03 16:50:47 Re: is_absolute_path incorrect on Windows