Re: Transactions, Triggers and Error Messages - Mailing list pgsql-general

From Ledina Hido
Subject Re: Transactions, Triggers and Error Messages
Date
Msg-id BEC2C039-9149-4027-9AA0-5FC7FDAE72C7@ecs.soton.ac.uk
Whole thread Raw
In response to Transactions, Triggers and Error Messages  (Ledina Hido <lh1101@ecs.soton.ac.uk>)
Responses Re: Transactions, Triggers and Error Messages
List pgsql-general

That's great. Thank you very much for you help.

Ledina


On Tue, Nov 08, 2005 at 11:03:50PM +0000, Ledina Hido wrote:
> Quoting Tom Lane <tgl@sss.pgh.pa.us>:
>
> > What are you running this in?  ISTM this is a problem with bad  
> structure
> > of client-side code, not something to be fixed on the server side.
> >
> >                         regards, tom lane
>
>
> I'm using pgAdmin3. Basically when I run the query the first time it  
> gives the correct error but if I re-run it, then it says "ERROR:  
> current transaction is aborted, commands ignored until end of  
> transaction block". Should I be doing something else, ie should I be  
> explicitly rolling back once the exception is raised so I don't get  

Yes.

> this error? And if so how can I "catch" the exception. Sorry for my  

http://lnk.nu/postgresql.org/5sl.html

pgsql-general by date:

Previous
From: Will Wright
Date:
Subject: Re: Programmatic method to determine currently installed Windows PostrgreSQL version
Next
From: Ledina Hido
Date:
Subject: Re: Transactions, Triggers and Error Messages