Re: PL/PGSQL: Dynamic Record Introspection

From: Neil Conway <neilc(at)samurai(dot)com>
To: Titus von Boxberg <ut(at)bhi-hamburg(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: PL/PGSQL: Dynamic Record Introspection
Date: 2005-07-19 04:15:35
Message-ID: BF02BB87.14DF%neilc@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On 7/19/05 8:11 AM, "Titus von Boxberg" <ut(at)bhi-hamburg(dot)de> wrote:
>> As for NFIELDS, I don't think we need it -- you can always measure the
>> length of the FIELDNAMES array.
> I would like to leave it there. As far as I can see it's much faster
> than other builtins for evaluating array dimensions and I think it does
> not hurt.

Is performance a concern here? (Considering that you needn't repeatedly get
the length of the array as you can store it in a local variable.) I agree
with Tom, we can probably do without this.

-Neil

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2005-07-19 07:32:09 Patch to fix plpython on OS X
Previous Message Tom Lane 2005-07-19 03:10:37 Re: PL/PGSQL: Dynamic Record Introspection