Re: What does invalid_transaction_state 25000 mean

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Debraj Manna <subharaj(dot)manna(at)gmail(dot)com>, Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: What does invalid_transaction_state 25000 mean
Date: 2023-06-20 10:49:04
Message-ID: 23f1ff65545a676a5feed1292c685d1ca0f2c7d5.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, 2023-06-20 at 13:25 +0530, Debraj Manna wrote:
> I am seeing the below error message Postgres JDBC driver
>
> Caused by: org.postgresql.util.PSQLException: ERROR: could not serialize access due to read/write dependencies among transactions
>   Detail: Reason code: Canceled on identification as a pivot, during conflict in checking.
>   Hint: The transaction might succeed if retried.
>   at org.postgresql.core.v3.QueryExecutorImpl.receiv

Your application is using the SERIALIZATION idolation level, and
PostgreSQL detected a potential anomaly.

ROLLBACK and retry the transaction.

Yours,
Laurenz Albe

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Phani Prathyush Somayajula 2023-06-20 11:23:11 Restrict Write Users
Previous Message Nikhil Ingale 2023-06-20 08:57:20 Re: IS JSON STRICT - In oracle => postgres ??