Re: declare variable in udf - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: declare variable in udf
Date
Msg-id 50ACC4CD.2060104@iol.ie
Whole thread Raw
In response to Re: declare variable in udf  (Peter Kroon <plakroon@gmail.com>)
List pgsql-general
On 21/11/2012 12:01, Peter Kroon wrote:
> So, multiple DECLARE sections are not allowed?

Actually, I just had a quick look here -

  http://www.postgresql.org/docs/9.2/static/plpgsql-structure.html

- and it seems that you can have multiple declare - begin - end blocks.

Try it and see!

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: declare variable in udf
Next
From: "Albe Laurenz"
Date:
Subject: Re: ERROR: volatile EquivalenceClass has no sortref