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.