public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Siddharth Jain <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Question regarding how databases support atomicity
Date: Fri, 3 May 2024 20:13:16 -0700
Message-ID: <CAKFQuwbSYnTbWtXqMCbOYtEec1ot28Bjvyx+MsqW-USw4mOu_w@mail.gmail.com> (raw)
In-Reply-To: <CAKFQuwb2MtE02QgMQ3vvLOj7bvGMar6qwnigCBBaYLBKsdk3xg@mail.gmail.com>
References: <CAPqV3pRO=u1Mno06WLCFxoyxbzkYTetiqTs7WaW=_fkjRPgYhw@mail.gmail.com>
<CAPqV3pQquw63Fv_fCJzAAnUWk86qHfg1cH=+mJ2N=4LGdDyrNw@mail.gmail.com>
<CAKFQuwb2MtE02QgMQ3vvLOj7bvGMar6qwnigCBBaYLBKsdk3xg@mail.gmail.com>
On Friday, May 3, 2024, David G. Johnston <[email protected]>
wrote:
> On Friday, May 3, 2024, Siddharth Jain <[email protected]> wrote:
>
>>
>>
>> On Fri, May 3, 2024 at 8:00 PM Siddharth Jain <[email protected]> wrote:
>>
>>>
>>>
>>> The way I understand this is that if there is a failure in-between, we
>>> start undoing and reverting the previous operations one by one.
>>>
>>
> You need to ensure a “begin” happens before Step 1 and a “commit” after
> Step 3.
>
As described in our documentation.
https://www.postgresql.org/docs/current/tutorial-transactions.html
David J.
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Question regarding how databases support atomicity
In-Reply-To: <CAKFQuwbSYnTbWtXqMCbOYtEec1ot28Bjvyx+MsqW-USw4mOu_w@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox