On Mon, Jun 22, 2020 at 8:27 AM Daniel Gustafsson <dan...@yesql.se> wrote: > Restartability is implemented by keeping state in pg_class. I opted for a > bool > which is cleared as the first step of checksum enable, since it offers fewer > synchronization cornercases I think.
Unless you take AccessExclusiveLock on the table, this probably needs to be three-valued. Or maybe I am misunderstanding the design... -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company