mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
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.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.88 2010/08/17 04:37:21 petere Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.89 2010/09/09 00:48:22 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
|
||||
|
Reference in New Issue
Block a user