11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.17 2000/08/25 15:17:50 thomas Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.18 2000/10/05 19:48:17 momjian Exp $
33Postgres documentation
44-->
55
@@ -60,7 +60,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
6060The data type(s) of the function's arguments, if any.
6161The input types may be base or complex types, or
6262<firstterm>opaque</firstterm>.
63- <literal>opaque </literal> indicates that the function
63+ <literal>Opaque </literal> indicates that the function
6464accepts arguments of a non-SQL type such as <type>char *</type>.
6565 </para>
6666 </listitem>
@@ -71,7 +71,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
7171 <para>
7272The return data type.
7373The output type may be specified as a base type, complex type,
74- <option>setof<replaceable class="parameter"> type</replaceable> </option>,
74+ <option>setof type</option>,
7575or <option>opaque</option>.
7676The <option>setof</option>
7777modifier indicates that the function will return a set of items,
@@ -103,7 +103,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
103103 <listitem>
104104 <para>
105105This form of the <command>AS</command> clause is used for
106- dynamically- linked, C language functions when the function name in
106+ dynamically linked, C language functions when the function name in
107107the C language source code is not the same as the name of the SQL
108108function. The string <replaceable
109109class="parameter">obj_file</replaceable> is the name of the file
@@ -118,7 +118,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
118118 <term><replaceable class="parameter">langname</replaceable></term>
119119 <listitem>
120120 <para>
121- may be '<literal>sql</literal>',
121+ May be '<literal>sql</literal>',
122122'<literal>C</literal>', '<literal>newC</literal>',
123123'<literal>internal</literal>', '<literal>newinternal</literal>',
124124or '<replaceable class="parameter">plname</replaceable>',
@@ -189,7 +189,7 @@ CREATE
189189 <term>iscachable</term>
190190 <listitem>
191191 <para>
192- <option>iscachable </option> indicates that the function always
192+ <option>Iscachable </option> indicates that the function always
193193returns the same result when given the same argument values (i.e.,
194194it does not do database lookups or otherwise use information not
195195directly present in its parameter list). The optimizer uses
@@ -243,7 +243,7 @@ CREATE
243243 <para>
244244 The full <acronym>SQL92</acronym> type syntax is allowed for
245245 input arguments and return value. However, some details of the
246- type specification (e.g. the precision field for
246+ type specification (e.g., the precision field for
247247 <type>numeric</type> types) are the responsibility of the
248248 underlying function implementation and are silently swallowed
249249 (i.e., not recognized or
@@ -263,7 +263,7 @@ CREATE
263263 errors at link time. To get around that, give them different C names
264264 (for example, use the argument types as part of the C names), then
265265 specify those names in the AS clause of <command>CREATE FUNCTION</command>.
266- If the AS clause is left empty then <command>CREATE FUNCTION</command>
266+ If the AS clause is left empty, then <command>CREATE FUNCTION</command>
267267 assumes the C name of the function is the same as the SQL name.
268268 </para>
269269
@@ -322,7 +322,7 @@ CREATE TABLE product (
322322
323323 <para>
324324 This example creates a function that does type conversion between the
325- user defined type complex, and the internal type point. The
325+ user- defined type complex, and the internal type point. The
326326 function is implemented by a dynamically loaded object that was
327327 compiled from C source. For <productname>Postgres</productname> to
328328 find a type conversion function automatically, the sql function has