Re: Online checksums patch - once again - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Online checksums patch - once again
Date
Msg-id CA+TgmoYCeTGZr11n6-tX-7uyzRntU6FbDouxZ4utGEGLZhKB6A@mail.gmail.com
Whole thread Raw
In response to Re: Online checksums patch - once again  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Online checksums patch - once again  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On Mon, Jun 22, 2020 at 8:27 AM Daniel Gustafsson <daniel@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



pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: may I help with Perl?
Next
From: Alvaro Herrera
Date:
Subject: Re: Backpatch b61d161c14