diff options
Diffstat (limited to 'doc/src/sgml/plperl.sgml')
-rw-r--r-- | doc/src/sgml/plperl.sgml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index 0680c6106e8..c6fdb3bae2b 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.40 2005/05/20 01:52:24 neilc Exp $ +$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.41 2005/06/05 03:16:29 momjian Exp $ --> <chapter id="plperl"> @@ -182,8 +182,11 @@ $$ LANGUAGE plperl; SELECT * FROM perl_set(); </programlisting> - Note that when you do this, Perl will have to build the entire array in - memory; therefore the technique does not scale to very large result sets. + When you do this, Perl will have to build the entire array in memory; + therefore the technique does not scale to very large result sets. You + can instead call <function>return_next</function> for each element of + the result set, passing it either a scalar or a reference to a hash, + as appropriate to your function's return type. </para> <para> |