Re: PL/PERL: raise notice, exception ?

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: David Fetter <david(at)fetter(dot)org>
Cc: Philippe Lang <philippe(dot)lang(at)attiksystem(dot)ch>, pgsql-general(at)postgresql(dot)org
Subject: Re: PL/PERL: raise notice, exception ?
Date: 2005-04-05 15:43:21
Message-ID: 20050405154321.GQ93835@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Apr 05, 2005 at 07:37:03AM -0700, David Fetter wrote:
> On Tue, Apr 05, 2005 at 04:28:10PM +0200, Philippe Lang wrote:
> > Hi,
> >
> > Is there in PL/PERL, under PG 8.01, an equivalent for the "raise
> > notice, exception" commands of PL/PGSQL?
>
> Use the elog() function. :)

See also
http://www.postgresql.org/docs/current/static/plpgsql-errors-and-messages.html
--
Jim C. Nasby, Database Consultant decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message tony 2005-04-05 15:53:57 Re: [HACKERS] plPHP in core?
Previous Message Marc G. Fournier 2005-04-05 15:33:39 Re: [HACKERS] plPHP in core?