summaryrefslogtreecommitdiff
path: root/doc/src/sgml/plperl.sgml
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2010-09-09 00:48:29 +0000
committerBruce Momjian <bruce@momjian.us>2010-09-09 00:48:29 +0000
commita8745a9afda01a29a4dd573b194b0abb1b439a28 (patch)
tree97d0389e009472a1b0025a8efa80565190220430 /doc/src/sgml/plperl.sgml
parent83756a241a087a18f180526bde94703516c87f1c (diff)
Doc fixes:
- remove excessive table cells - moving function parameters into function tags rather than having them being considered separate - add return type column on XML2 contrib module functions list and removing return types from function - add table header to XML2 contrib parameter table Thom Brown Backpatch to 9.0.X.
Diffstat (limited to 'doc/src/sgml/plperl.sgml')
-rw-r--r--doc/src/sgml/plperl.sgml36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml
index 46d2ad5036d..0de4efad0f5 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.86.2.2 2010/08/17 04:37:17 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.86.2.3 2010/09/09 00:48:29 momjian Exp $ -->
<chapter id="plperl">
<title>PL/Perl - Perl Procedural Language</title>
@@ -445,9 +445,9 @@ SELECT * FROM test_munge();
</varlistentry>
<varlistentry>
- <term><literal><function>spi_query</>(<replaceable>command</replaceable>)</literal></term>
- <term><literal><function>spi_fetchrow</>(<replaceable>cursor</replaceable>)</literal></term>
- <term><literal><function>spi_cursor_close</>(<replaceable>cursor</replaceable>)</literal></term>
+ <term><literal><function>spi_query(<replaceable>command</replaceable>)</function></literal></term>
+ <term><literal><function>spi_fetchrow(<replaceable>cursor</replaceable>)</function></literal></term>
+ <term><literal><function>spi_cursor_close(<replaceable>cursor</replaceable>)</function></literal></term>
<listitem>
<para>
@@ -503,10 +503,10 @@ SELECT * from lotsa_md5(500);
</varlistentry>
<varlistentry>
- <term><literal><function>spi_prepare</>(<replaceable>command</replaceable>, <replaceable>argument types</replaceable>)</literal></term>
- <term><literal><function>spi_query_prepared</>(<replaceable>plan</replaceable>, <replaceable>arguments</replaceable>)</literal></term>
- <term><literal><function>spi_exec_prepared</>(<replaceable>plan</replaceable> [, <replaceable>attributes</replaceable>], <replaceable>arguments</replaceable>)</literal></term>
- <term><literal><function>spi_freeplan</>(<replaceable>plan</replaceable>)</literal></term>
+ <term><literal><function>spi_prepare(<replaceable>command</replaceable>, <replaceable>argument types</replaceable>)</function></literal></term>
+ <term><literal><function>spi_query_prepared(<replaceable>plan</replaceable>, <replaceable>arguments</replaceable>)</function></literal></term>
+ <term><literal><function>spi_exec_prepared(<replaceable>plan</replaceable> [, <replaceable>attributes</replaceable>], <replaceable>arguments</replaceable>)</function></literal></term>
+ <term><literal><function>spi_freeplan(<replaceable>plan</replaceable>)</function></literal></term>
<listitem>
<para>
@@ -611,7 +611,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>elog</>(<replaceable>level</replaceable>, <replaceable>msg</replaceable>)</literal></term>
+ <term><literal><function>elog(<replaceable>level</replaceable>, <replaceable>msg</replaceable>)</function></literal></term>
<listitem>
<para>
Emit a log or error message. Possible levels are
@@ -640,7 +640,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>quote_literal</>(<replaceable>string</replaceable>)</literal></term>
+ <term><literal><function>quote_literal(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Return the given string suitably quoted to be used as a string literal in an SQL
@@ -657,7 +657,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>quote_nullable</>(<replaceable>string</replaceable>)</literal></term>
+ <term><literal><function>quote_nullable(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Return the given string suitably quoted to be used as a string literal in an SQL
@@ -673,7 +673,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>quote_ident</>(<replaceable>string</replaceable>)</literal></term>
+ <term><literal><function>quote_ident(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Return the given string suitably quoted to be used as an identifier in
@@ -690,7 +690,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>decode_bytea</>(<replaceable>string</replaceable>)</literal></term>
+ <term><literal><function>decode_bytea(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Return the unescaped binary data represented by the contents of the given string,
@@ -705,7 +705,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>encode_bytea</>(<replaceable>string</replaceable>)</literal></term>
+ <term><literal><function>encode_bytea(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Return the <type>bytea</type> encoded form of the binary data contents of the given string.
@@ -719,8 +719,8 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>encode_array_literal</>(<replaceable>array</replaceable>)</literal></term>
- <term><literal><function>encode_array_literal</>(<replaceable>array</replaceable>, <replaceable>delimiter</replaceable>)</literal></term>
+ <term><literal><function>encode_array_literal(<replaceable>array</replaceable>)</function></literal></term>
+ <term><literal><function>encode_array_literal(<replaceable>array</replaceable>, <replaceable>delimiter</replaceable>)</function></literal></term>
<listitem>
<para>
Returns the contents of the referenced array as a string in array literal format
@@ -738,7 +738,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>encode_array_constructor</>(<replaceable>array</replaceable>)</literal></term>
+ <term><literal><function>encode_array_constructor(<replaceable>array</replaceable>)</function></literal></term>
<listitem>
<para>
Returns the contents of the referenced array as a string in array constructor format
@@ -756,7 +756,7 @@ SELECT release_hosts_query();
<secondary>in PL/Perl</secondary>
</indexterm>
- <term><literal><function>looks_like_number</>(<replaceable>string</replaceable>)</literal></term>
+ <term><literal><function>looks_like_number(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Returns a true value if the content of the given string looks like a