Exception handling in plperl - Mailing list pgsql-general

From Jasbinder Singh Bali
Subject Exception handling in plperl
Date
Msg-id a47902760703132023r709ce431ve10a359b34eb6ce@mail.gmail.com
Whole thread Raw
Responses Re: Exception handling in plperl  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
Hi,

I have a stored procedure written in plperl.
This procedure has series of inserts at various levels. A few inserts on certain tables invoke triggers
that launch tools outside the domain of the database.

How can I make everything as one single transaction and simply roll back everything whenever an exception occurs.

Thanks,
Jas

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: OT: Canadian Tax Database
Next
From: "Harvey, Allan AC"
Date:
Subject: Multiple atributes with -P switch to psql