On Wed, Jul 27, 2022 at 6:25 AM Michael Paquier <[email protected]> wrote: > Right. The whole write_relmap_file() already happens while taking > RelationMappingLock, so that seems like a good idea for consistency at > the end (even if I remember that there is a patch floating around to > improve the concurrency of pgrename, which may become an easier move > now that we require Windows 10). > > I have tested three runs and that was working here even if the > issue is sporadic, so more runs may be better to have more > confidence.
OK, I committed Thomas's patch, after taking the liberty of adding an explanatory comment. -- Robert Haas EDB: http://www.enterprisedb.com
