pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Debraj Manna <subharaj.manna@gmail.com>
To: Joe Conway <mail@joeconway.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: What does invalid_transaction_state 25000 mean
Date: Tue, 20 Jun 2023 12:49:04 +0200
Message-ID: <23f1ff65545a676a5feed1292c685d1ca0f2c7d5.camel@cybertec.at> (raw)
In-Reply-To: <CAF6DVKNk8NJmhGi=bMk0NmWy1_nqV9hVbpJZC9y4DCBO5cY4mQ@mail.gmail.com>
References: <CAF6DVKOuN8GSXT_D1D-anRhzuZoeseB=q787Do_3oQEVg6ANVw@mail.gmail.com>
	<a8a1b285-213c-d7af-cf1d-016b7ccf4b7d@joeconway.com>
	<CAF6DVKNk8NJmhGi=bMk0NmWy1_nqV9hVbpJZC9y4DCBO5cY4mQ@mail.gmail.com>

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





view thread (4+ messages)

Message-ID: <23f1ff65545a676a5feed1292c685d1ca0f2c7d5.camel@cybertec.at>
Permalink:  ../23f1ff65545a676a5feed1292c685d1ca0f2c7d5.camel@cybertec.at/
Also on:    postgresql.org/message-id/23f1ff65545a676a5feed1292c685d1ca0f2c7d5.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, subharaj.manna@gmail.com, mail@joeconway.com
  Subject: Re: What does invalid_transaction_state 25000 mean
  In-Reply-To: <23f1ff65545a676a5feed1292c685d1ca0f2c7d5.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox