mirror of
https://github.com/postgres/postgres.git
synced 2025-12-24 06:01:07 +03:00
Fix silly error in plpgsql example.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.48 2001/11/15 23:32:39 tgl Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.49 2001/11/16 00:40:11 tgl Exp $
|
||||
-->
|
||||
|
||||
<chapter id="plpgsql">
|
||||
@@ -1184,9 +1184,9 @@ END IF;
|
||||
<programlisting>
|
||||
IF number = 0 THEN
|
||||
result := ''zero'';
|
||||
ELSIF number < 0 THEN
|
||||
result := ''positive'';
|
||||
ELSIF number > 0 THEN
|
||||
result := ''positive'';
|
||||
ELSIF number < 0 THEN
|
||||
result := ''negative'';
|
||||
ELSE
|
||||
-- hmm, the only other possibility is that number IS NULL
|
||||
|
||||
Reference in New Issue
Block a user