On Fri, 2004-10-01 at 13:46, Tom Lane wrote: > We specifically do not require a semicolon at the very end of the > function definition.
Yeah, makes sense. Attached is a doc patch. Barring any objections I'll apply it to HEAD by end-of-day today. -Neil
Index: doc/src/sgml/plpgsql.sgml =================================================================== RCS file: /home/neilc/private-cvsroot/pgsql-server/doc/src/sgml/plpgsql.sgml,v retrieving revision 1.47 diff -c -r1.47 plpgsql.sgml *** doc/src/sgml/plpgsql.sgml 24 Sep 2004 18:54:14 -0000 1.47 --- doc/src/sgml/plpgsql.sgml 1 Oct 2004 04:32:40 -0000 *************** *** 437,443 **** <para> Each declaration and each statement within a block is terminated ! by a semicolon. </para> <para> --- 437,445 ---- <para> Each declaration and each statement within a block is terminated ! by a semicolon. There is one exception to this rule: the final ! <literal>END</literal> that concludes a function definition does ! not need to be terminated by a semicolon. </para> <para>
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly