Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBYvB-0000RN-Qx for pgsql-admin@arkaria.postgresql.org; Tue, 20 Jun 2023 10:49:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qBYv9-0002YN-GI for pgsql-admin@arkaria.postgresql.org; Tue, 20 Jun 2023 10:49:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBYv8-0002YD-Vs for pgsql-admin@lists.postgresql.org; Tue, 20 Jun 2023 10:49:11 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qBYv6-003blz-DI for pgsql-admin@postgresql.org; Tue, 20 Jun 2023 10:49:10 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-518b69d5b5dso6331165a12.1 for ; Tue, 20 Jun 2023 03:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20221208.gappssmtp.com; s=20221208; t=1687258146; x=1689850146; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=wzGarspfgByiffBPeQMBhXpqhq4ws4P1iEC0RfMv0ko=; b=dA6atQOFlDcqNvwn/ZT/gX303WN08nOPPCi/tm6k6Gx847vVlZ+TtVAOielwIgI63D E+QTyvtY41cutLvhtxYE19LIfjiOAp/9hZ+rqLjCMjDW5lEH2nBBsKgTom8Co0xTnWoo ejvfX0IaaIse/TaW0COTrtCmhv13IgaOPMBagjwOhHztsk5avVFq2QeGK+Q1Xiil/F0+ bZvFMtiWvujGp2NKd6+gUa5MlybqkDWxVUZVz1e3bf590M0Z8UOR2RUduYBXSo5UzGoa CrTz0iMpyrjPFBfXYx99MAteWtAIA2eqq7MrWSywIRqTcH8dMZxTHxCsif0oDK1wRADS ywBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687258146; x=1689850146; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wzGarspfgByiffBPeQMBhXpqhq4ws4P1iEC0RfMv0ko=; b=g1McfT1zxZGSKFTMHyK+8wQfKyE8Svy9DIMDiui7uZa4ANRWOD7nR0ycWK6at3qELL DEB2ZT9Iibyvj95BQfcQSJUprhJcvJeTMpv0OZuphef65MBHVdbtYZjGyDewPsC55bvQ mrV7gv2+33mQkQL+A/yUD6XdF5Hs9gZvdvOAAl6WFhCsy3hJi9OInkzhCw9kZKti+fj/ E9kEz1EW9N2XDEpOru/doUR/xj+R//gP9OT3iXFP2vVqaGQ3UGvVC3j0F3aP8S1cjVZX OsJ4gU/OuvFHHznDtAN4NUxIuMKMwOZKJXtd4AGiJFWf/ZMGdU+khR80LUZ3J4A0WvpY uynA== X-Gm-Message-State: AC+VfDyB00qwXOlYMnqjf4zxwBUPYkECVjOdvXDoPwD+//KoWuDdmsWS 8apjOHgihIC4HOLi2oB5usBi6A== X-Google-Smtp-Source: ACHHUZ6xhBmPETz3siqo3qir4LTCaf6OAtqTwqrcsIeUi4q7SfH05aVeqfVGaRfaT/qPkV+4C0Wtzg== X-Received: by 2002:a17:907:a4a:b0:96a:30b5:cfb0 with SMTP id be10-20020a1709070a4a00b0096a30b5cfb0mr11096754ejc.22.1687258145690; Tue, 20 Jun 2023 03:49:05 -0700 (PDT) Received: from localhost.localdomain ([2001:871:5e:536d:25c2:6fdf:bd95:83f2]) by smtp.gmail.com with ESMTPSA id r16-20020a170906705000b009892cca8ae3sm843008ejj.165.2023.06.20.03.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 03:49:05 -0700 (PDT) Message-ID: <23f1ff65545a676a5feed1292c685d1ca0f2c7d5.camel@cybertec.at> Subject: Re: What does invalid_transaction_state 25000 mean From: Laurenz Albe To: Debraj Manna , Joe Conway Cc: pgsql-admin Date: Tue, 20 Jun 2023 12:49:04 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2023-06-20 at 13:25 +0530, Debraj Manna wrote: > I am seeing the below error message Postgres JDBC driver >=20 > Caused by: org.postgresql.util.PSQLException: ERROR: could not serialize = access due to read/write dependencies among transactions > =C2=A0=C2=A0Detail: Reason code: Canceled on identification as a pivot, d= uring conflict in checking. > =C2=A0=C2=A0Hint: The transaction might succeed if retried. > =C2=A0=C2=A0at 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