Re: troubleshooting PGError

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: slavix <mikerin(dot)slava(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: troubleshooting PGError
Date: 2011-11-10 16:30:26
Message-ID: CAF-3MvOUqwEhj8QR45g89QUwvJsikWw2o5gQyzDtU0HFO0ogSA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9 November 2011 06:02, slavix <mikerin(dot)slava(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-11-10 16:31:57 Re: troubleshooting PGError
Previous Message Alban Hertroys 2011-11-10 16:28:42 Re: How to inquiry a nest result?