Skip to content

Commit e374dfc

Browse files
author
Neil Conway
committed
Document that the semicolon following the final "END" in a function body
is optional.
1 parent 8d5ff6b commit e374dfc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.47 2004/09/24 18:54:14 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.48 2004/10/04 05:42:18 neilc Exp $
33
-->
44

55
<chapter id="plpgsql">
@@ -437,7 +437,8 @@ END;
437437

438438
<para>
439439
Each declaration and each statement within a block is terminated
440-
by a semicolon.
440+
by a semicolon, although the final <literal>END</literal> that
441+
concludes a function body does not require one.
441442
</para>
442443

443444
<para>

0 commit comments

Comments
 (0)