Re: PL/PGSQL - character varying as function argument

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: rod(at)iol(dot)ie
Cc: Chris Baechle <bangular(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: PL/PGSQL - character varying as function argument
Date: 2008-09-26 13:57:58
Message-ID: 48DCEA66.8010403@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 26/09/2008 14:52, Raymond O'Donnell wrote:
> begin
> select into permission permtype from users
> where uid = username;
> return permtype;
> end

Whoops - that should be

return permission;

That's enough good advice from me for today.... :-)

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-09-26 14:10:44 Re: PL/PGSQL - character varying as function argument
Previous Message Raymond O'Donnell 2008-09-26 13:52:47 Re: PL/PGSQL - character varying as function argument