Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
>> No. Committing the relfilenode swap would cut the knees off of any
>> active scan on the old file.
> Could it upgrade its lock to exclusive just before doing the swap?
That is a recipe for deadlock failures.
regards, tom lane