From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Bandi, Venkataramana - Dell Team <Venkataramana.Bandi@dellteam.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: Kishore, Nanda - Dell Team <Nanda.Kishore@Dellteam.com>
Cc: Alampalli, Kishore <Kishoreravishankar.Alampalli@dellteam.com>
Subject: Re: Query on Postgres SQL transaction
Date: Fri, 15 Mar 2024 10:42:34 -0700
Message-ID: <48ea6606-41ad-4094-887a-466c8c827bf2@aklaver.com> (raw)
In-Reply-To: <PH7PR19MB6876D9AB33CFF7160C4097D295282@PH7PR19MB6876.namprd19.prod.outlook.com>
References: <PH7PR19MB6876D9AB33CFF7160C4097D295282@PH7PR19MB6876.namprd19.prod.outlook.com>
On 3/14/24 11:04 PM, Bandi, Venkataramana - Dell Team wrote:
>
> Hi Team,
>
> We are using JPA entities to persists the records into Postgres SQL DB
> and its working for all the nodes but one of the node data is not
> persisting and it’s not giving any DB related errors/exception. We
> just want to trace out this scenario on transaction level whether
> transaction is committing or not.
>
"... its working for all the nodes but one of the node data is not
persisting ..." contradict.
Generally when a record does not throw an error, but is not persisted it
means the transaction was not committed and the changes did not survive
the session they where done in. Without the actual code it hard to say
anything more.
> Could you please let us know how we can trace out this scenario and
> let us know how transaction logs enabled in Postgres SQL DB.
>
> Regards,
>
> Venkat
>
>
> Internal Use - Confidential
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, Venkataramana.Bandi@dellteam.com, Nanda.Kishore@Dellteam.com, Kishoreravishankar.Alampalli@dellteam.com
Subject: Re: Query on Postgres SQL transaction
In-Reply-To: <48ea6606-41ad-4094-887a-466c8c827bf2@aklaver.com>
References: <PH7PR19MB6876D9AB33CFF7160C4097D295282@PH7PR19MB6876.namprd19.prod.outlook.com> <48ea6606-41ad-4094-887a-466c8c827bf2@aklaver.com>
* 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