Re: troubleshooting PGError - Mailing list pgsql-general

From Alban Hertroys
Subject Re: troubleshooting PGError
Date
Msg-id CAF-3MvOUqwEhj8QR45g89QUwvJsikWw2o5gQyzDtU0HFO0ogSA@mail.gmail.com
Whole thread Raw
In response to troubleshooting PGError  (slavix <mikerin.slava@gmail.com>)
List pgsql-general
On 9 November 2011 06:02, slavix <mikerin.slava@gmail.com> wrote:
> Hello,
> I am new to postgres, but need to resolve this error:
>
> PGError: ERROR:  current transaction is aborted, commands ignored
> until end of transaction block
> : SELECT  1 FROM "trades"  WHERE ("trades"."uuid" =
> 'bc8d86e6-0a8d-11e1-a345-001d09203579' AND "trades"."id" != 25) LIMIT
> 1
>
> Don't know what is the problem, tried running the same query in
> pgAdmin and the query runs fine..
> I don't know what the error actually is since the error message is not
> clear. Any ideas on how to investigate this?

A query earlier in your transaction failed and invalidated the
transaction. You should probably roll it back.

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: How to inquiry a nest result?
Next
From: Adrian Klaver
Date:
Subject: Re: troubleshooting PGError