diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-04-10 15:16:46 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-04-10 15:16:46 +0000 |
commit | e863951a59cc04df370bc6dd06b42bff9b211965 (patch) | |
tree | 6d3ba3228bec97f7a6467c5fb451b65ae22ee00d | |
parent | 66782364a14b125fd26fc447e3c32d272ede4db4 (diff) | |
download | postgresql-e863951a59cc04df370bc6dd06b42bff9b211965.tar.gz postgresql-e863951a59cc04df370bc6dd06b42bff9b211965.zip |
Remove mention of DBD::PgSPI, which is unmaintained and generally unnecessary.
-rw-r--r-- | doc/src/sgml/plperl.sgml | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index ce217dfa33b..dfb15b3bd17 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.68 2008/03/28 00:21:55 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.69 2008/04/10 15:16:46 alvherre Exp $ --> <chapter id="plperl"> <title>PL/Perl - Perl Procedural Language</title> @@ -309,20 +309,7 @@ BEGIN { strict->import(); } <para> Access to the database itself from your Perl function can be done - via the function <function>spi_exec_query</function> described - below, or via an experimental module - <ulink url="http://www.cpan.org/modules/by-module/DBD/APILOS/"> - <literal>DBD::PgSPI</literal></ulink> - (also available at <ulink url="http://www.cpan.org/SITES.html"> - <acronym>CPAN mirror sites</></ulink>). This module makes available a - <acronym>DBI</>-compliant database-handle named - <varname>$pg_dbh</varname> that can be used to perform queries with - normal <acronym>DBI</> - syntax.<indexterm><primary>DBI</></indexterm> - </para> - - <para> - PL/Perl provides additional Perl commands: + via the following functions: <variablelist> <varlistentry> @@ -412,6 +399,7 @@ $$ LANGUAGE plperl; SELECT * FROM test_munge(); </programlisting> </para> + <para> <literal>spi_query</literal> and <literal>spi_fetchrow</literal> work together as a pair for row sets which might be large, or for cases |