If crashes during VACUUM, will it recover from a checkpoint that is before the forzen transaction ID of VACUUM? - Mailing list pgsql-general

From Jialun Zhang
Subject If crashes during VACUUM, will it recover from a checkpoint that is before the forzen transaction ID of VACUUM?
Date
Msg-id CAMFL+Jj8c6RY4_HfmHDJN4x1E3O=KwYPWUuRex4hTt++Be45Ag@mail.gmail.com
Whole thread Raw
List pgsql-general
Hello All,

When VACUUM starts, it will calculate a frozen transaction ID and freeze all tuples older than it. Will this frozen TXID younger than the latest checkpoint? 

If this is the case, then when the system crashes after VACUUM has deleted some dead tuples and the system recovers from this checkpoint, these tuples will be available to some transactions again during the replaying of WAL.  

I am new to Postgres, hope my understanding is not too wrong.

Thanks,
Reatank

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL 12 - ERROR: could not rename file "pg_logical/snapshots/1A-7C00D890.snap.13594.tmp" to "pg_logical/snapshots/1A-7C00D890.snap": No space left on device
Next
From: Rene de Gek
Date:
Subject: Re: Connecting Powerbuilder / EAserver to PostgreSQL server 11 via ODBC or JDBC