Re: race condition when writing pg_control
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "Bossart, Nathan" <bossartn@amazon.com>
Cc: Fujii Masao <masao.fujii@oss.nttdata.com>, Thomas Munro <thomas.munro@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2020-06-02T05:24:27Z
Lists: pgsql-hackers
On Sun, May 31, 2020 at 09:11:35PM +0000, Bossart, Nathan wrote: > Thanks for the feedback. I've attached a new set of patches. Thanks for splitting the set. 0001 and 0002 are the minimum set for back-patching, and it would be better to merge them together. 0003 is debatable and not an actual bug fix, so I would refrain from doing a backpatch. It does not seem that there is a strong consensus in favor of 0003 either. Thomas, are you planning to look at this patch set? -- Michael
Commits
-
Fix locking bugs that could corrupt pg_control.
- 09dc17486393 9.5.23 landed
- 644cac32a0bc 9.6.19 landed
- fd11b842eba9 10.14 landed
- 48eb6a3c895d 11.9 landed
- 72766ad6397a 12.4 landed
- acefa2cca6a2 13.0 landed
- 57cb8063089a 14.0 landed