Hello, I noticed in plpgsql that a semi colon is not always required after the END statement. A contrived example:
CREATE sequence foo; CREATE OR REPLACE FUNCTION bar() RETURNS VOID AS ' DECLARE bar int; BEGIN SELECT INTO bar nextval(''foo''); RETURN; END ' LANGUAGE plpgsql; --hussein ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html