Re: Is txid_status() actually safe? / What is 011_crash_recovery.pl testing? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Is txid_status() actually safe? / What is 011_crash_recovery.pl testing?
Date
Msg-id CA+Tgmobctx3jMuyGC=yKQHMq4PWmNe-04gMbkapjjnU1S8gF8w@mail.gmail.com
Whole thread Raw
In response to Is txid_status() actually safe? / What is 011_crash_recovery.pl testing?  (Andres Freund <andres@anarazel.de>)
Responses Re: Is txid_status() actually safe? / What is 011_crash_recovery.pl testing?
List pgsql-hackers
On Mon, Feb 8, 2021 at 4:52 PM Andres Freund <andres@anarazel.de> wrote:
> The 011_crash_recovery.pl test test starts a transaction, creates a
> table, fetches the transaction's xid. Then shuts down the server in
> immediate mode. It then asserts that after crash recovery the previously
> assigned xid is shown as aborted, and that new xids are assigned after
> the xid.
>
> But as far as I can tell there's no guarantee that that is the case.

I think you are right.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [POC] verifying UTF-8 using SIMD instructions
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Custom compression methods