Re: declare variable in udf

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Peter Kroon <plakroon(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: declare variable in udf
Date: 2012-11-21 12:10:53
Message-ID: 50ACC4CD.2060104@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ranjeet Dhumal 2012-11-21 12:37:19 Fwd: ERROR: volatile EquivalenceClass has no sortref
Previous Message Pavel Stehule 2012-11-21 12:10:17 Re: declare variable in udf