pgsql: Allow 'ELSEIF' as an alternative to 'ELSIF' in PL/PgSQL.

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow 'ELSEIF' as an alternative to 'ELSIF' in PL/PgSQL.
Date: 2004-12-17 03:51:39
Message-ID: 20041217035139.1F5D33CBA89@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Allow 'ELSEIF' as an alternative to 'ELSIF' in PL/PgSQL. There have been
several reports of users being confused when they attempt to use ELSEIF
and run into trouble due to PL/PgSQL's lax parser. The parser will be
improved for 8.1, but we can fix most of the problem by allowing ELSEIF
for now.

Modified Files:
--------------
pgsql/doc/src/sgml:
plpgsql.sgml (r1.51 -> r1.52)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/plpgsql.sgml.diff?r1=1.51&r2=1.52)
pgsql/src/pl/plpgsql/src:
scan.l (r1.37 -> r1.38)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/scan.l.diff?r1=1.37&r2=1.38)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-12-17 03:53:32 pgsql: In a PGXS build, expect to find the postgres executable already
Previous Message Tom Lane 2004-12-17 02:14:53 pgsql: Hook up the plpython result-object nrows and status methods