Small addition.
Index: doc/src/sgml/ref/create_function.sgml
===================================================================
RCS file: /usr/local/cvsroot/pgsql-server/doc/src/sgml/ref/create_function.sgml,v
retrieving revision 1.57
diff -2 -c -r1.57 create_function.sgml
*** doc/src/sgml/ref/create_function.sgml 25 Jun 2004 07:05:34 -0000 1.57
--- doc/src/sgml/ref/create_function.sgml 3 Jul 2004 07:21:16 -0000
***************
*** 401,404 ****
--- 401,415 ----
</programlisting>
</para>
+
+ <para>
+ Increment an integer, making use of an argument name, in PL/PgSQL:
+
+ <programlisting>
+ CREATE OR REPLACE FUNCTION increment(i integer) RETURNS integer AS '
+ BEGIN
+ RETURN i + 1;
+ END;' LANGUAGE plpgsql;
+ </programlisting>
+ </para>
</refsect1>
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend