Re: Concern about new PL/Perl - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Concern about new PL/Perl
Date
Msg-id 200411162334.14477.peter_e@gmx.net
Whole thread Raw
In response to Re: Concern about new PL/Perl  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
> >$res->{rows}
> >
> >is a reference to an array of the result rows.
> >
> >For a different command
> >
> >$res->{rows}
> >
> >is a scalar containing the number of affected rows.

> I don't recall seeing any reply to this, but I'm inclined to agree
> with it.
>
> Joshua, any comment from  CP?

I think using "nrows" for the number of rows would be somewhat 
consistent with the other PLs.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



pgsql-hackers by date:

Previous
From: John Hansen
Date:
Subject: Re: [PATCHES] plperl Safe restrictions
Next
From: subhash@nmsu.edu
Date:
Subject: Problems with output function of new datatype!