semicolon not required on END statement - Mailing list pgsql-bugs

From Hussein Patni
Subject semicolon not required on END statement
Date
Msg-id 5caf971e0409271443160913e2@mail.gmail.com
Whole thread Raw
List pgsql-bugs
Hello,

    I noticed in plpgsql that a semi colon is not always required after
the END statement. A contrived example:

CREATE sequence foo;
=A0
CREATE OR REPLACE FUNCTION bar() RETURNS VOID AS '
DECLARE
bar int;
BEGIN
SELECT INTO bar nextval(''foo'');
RETURN;
END
' LANGUAGE plpgsql;

--hussein

pgsql-bugs by date:

Previous
From: "Alexander Ternopolski"
Date:
Subject: Error on pg_dumpall (PG8.0 B2)
Next
From: "Thomas LeBlanc"
Date:
Subject: ODBC Driver and ADO...