Re: [BUGS] semicolon not required on END statement

2004-10-03 Thread Neil Conway
Bruce Momjian wrote: Improved wording that doesn't telegraph, "Look at me!": Each declaration and each statement within a block is terminated by a semicolon, though the final END that concludes a function does not require one. Patch applied. -Neil ---

Re: [BUGS] semicolon not required on END statement

2004-10-01 Thread Bruce Momjian
Improved wording that doesn't telegraph, "Look at me!": Each declaration and each statement within a block is terminated by a semicolon, though the final END that concludes a function does not require one. -

Re: [BUGS] semicolon not required on END statement

2004-09-30 Thread Neil Conway
On Fri, 2004-10-01 at 13:46, Tom Lane wrote: > We specifically do not require a semicolon at the very end of the > function definition. Yeah, makes sense. Attached is a doc patch. Barring any objections I'll apply it to HEAD by end-of-day today. -Neil Index: doc/src/sgml/plpgsql.sgml ===

Re: [BUGS] semicolon not required on END statement

2004-09-30 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > On Fri, 2004-10-01 at 01:11, Hussein Patni wrote: >> I noticed in plpgsql that a semi colon is not always requiredafter >> the END statement. > Yeah, I've noticed this as well (although it doesn't appear to be > documented). Would we gain anything by enfor

Re: [BUGS] semicolon not required on END statement

2004-09-30 Thread Neil Conway
On Fri, 2004-10-01 at 01:11, Hussein Patni wrote: > I noticed in plpgsql that a semi colon is not always requiredafter > the END statement. Yeah, I've noticed this as well (although it doesn't appear to be documented). Would we gain anything by enforcing this restriction? IMHO not a lot... -Neil