diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-06-05 03:16:42 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-06-05 03:16:42 +0000 |
commit | bebe7c5600ad750fb52b86ecb083a3f623ba0a99 (patch) | |
tree | ef4c1f3094cba0e91f7b93522ca767abab3d319e /doc/src | |
parent | 27bdb0c40d1319d82af2b21e10b1e69aef763b82 (diff) |
Here's a patch to do the following:
1. Rename spi_return_next to return_next.
2. Add a new test for return_next.
3. Update the expected output.
4. Update the documentation.
Abhijit Menon-Sen
Diffstat (limited to 'doc/src')
-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> |