Re: Creating a function with single quotes - Mailing list pgsql-sql

From Leif B. Kristensen
Subject Re: Creating a function with single quotes
Date
Msg-id 200902201529.43264.leif@solumslekt.org
Whole thread Raw
In response to Re: Creating a function with single quotes  ("Leif B. Kristensen" <leif@solumslekt.org>)
Responses Re: Creating a function with single quotes  (Adrian Klaver <aklaver@comcast.net>)
List pgsql-sql
On Friday 20. February 2009, Adrian Klaver wrote:

>Actually you need both semicolons. One after the RETURN statement and
> one after the END statement
>See below for full details:
>http://www.postgresql.org/docs/8.3/interactive/plpgsql-structure.html

I see the documentation, but empirically you don't need the semicolon 
after the END.

About twenty years ago I wrote a lot of Turbo Pascal code, and IIRC 
semicolon after an END was allowed but considered bad style.
-- 
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/


pgsql-sql by date:

Previous
From: Adrian Klaver
Date:
Subject: Fwd: Re: Creating a function with single quotes
Next
From: Shawn Tayler
Date:
Subject: Re: Fwd: Re: Creating a function with single quotes