From: | joaoaafonso at gmail(dot)com (Joao Afonso) |
---|---|
To: | |
Subject: | [Pljava-dev] Aborting a transaction |
Date: | 2005-07-02 15:16:53 |
Message-ID: | ce04e69f0507020816199822ca@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
Hi,
I want to abort a transaction when a trigger on a table is fired.
Anyone knows how to do this? Is it something that can be done with
pl/java or rather at postgresql functions and procedures??
I read on the mailing list about a session manager and/or a
transaction listener:
- http://gborg.postgresql.org/pipermail/pljava-dev/2005/000148.html
and about changing the _new resultset value:
- http://gborg.postgresql.org/pipermail/pljava-dev/2005/000149.html
Basically a trigger is fired before an Insert and calls a function
that sends some data on a socket about the transaction. what i want to
do is abort the insert...
Any help?
Thanks for all your great answers...
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Hallgren | 2005-07-02 18:47:41 | [Pljava-dev] Aborting a transaction |
Previous Message | Thomas Hallgren | 2005-06-29 08:33:39 | [Pljava-dev] (no subject) |