public inbox for [email protected]  
help / color / mirror / Atom feed
From: Stephen Frost <[email protected]>
To: Jialun Zhang <[email protected]>
Cc: [email protected]
Subject: Re: Will crashed transaction be rollbacked?
Date: Wed, 29 Jul 2020 10:45:27 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAMFL+JhNHbcg=ToHHGP_32HMn_nUZt8nT+++yzyskabBVzpmNQ@mail.gmail.com>
References: <CAMFL+JhNHbcg=ToHHGP_32HMn_nUZt8nT+++yzyskabBVzpmNQ@mail.gmail.com>

Greetings,

* Jialun Zhang ([email protected]) wrote:
> If the system crashes while a transaction still in progress, what will
> happen to it in recovery? Will it be rollbacked? For example, if I insert a
> row and the insertion has been xlogged, then the system crashes before this
> transaction commits, will this insertion be cancelled in recovery?

The transaction will be rolled back if it hasn't committed.

Thanks,

Stephen


Attachments:

  [application/pgp-signature] signature.asc (819B, ../[email protected]/2-signature.asc)
  download

view thread (2+ messages)

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: Will crashed transaction be rollbacked?
  In-Reply-To: <[email protected]>

* 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