PL/PERL: raise notice, exception ?
Hi,
Is there in PL/PERL, under PG 8.01, an equivalent for the "raise notice,
exception" commands of PL/PGSQL?
Philippe
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. :)
Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778
Remember to vote!
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@decibel.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?"