Will crashed transaction be rollbacked?

From: Jialun Zhang <reatank(at)gmail(dot)com>
To: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Will crashed transaction be rollbacked?
Date: 2020-07-29 14:37:20
Message-ID: CAMFL+JhNHbcg=ToHHGP_32HMn_nUZt8nT+++yzyskabBVzpmNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi All,

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?

Thanks,
Jialun Zhang

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Stephen Frost 2020-07-29 14:45:27 Re: Will crashed transaction be rollbacked?
Previous Message David G. Johnston 2020-07-28 15:47:00 Re: configuration problems with Debian and derivates