From e374dfc119072b030c78012d4cf7d9a5aa68e707 Mon Sep 17 00:00:00 2001
From: Neil Conway <neilc@samurai.com>
Date: Mon, 4 Oct 2004 05:42:18 +0000
Subject: [PATCH] Document that the semicolon following the final "END" in a
 function body is optional.

---
 doc/src/sgml/plpgsql.sgml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 3e87f76f5b3..d705920dcb0 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.47 2004/09/24 18:54:14 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.48 2004/10/04 05:42:18 neilc Exp $
 -->
 
 <chapter id="plpgsql"> 
@@ -437,7 +437,8 @@ END;
 
     <para>
      Each declaration and each statement within a block is terminated
-     by a semicolon.
+     by a semicolon, although the final <literal>END</literal> that
+     concludes a function body does not require one.
     </para>
 
     <para>
-- 
GitLab