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 via email to