Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Is there a way the CLUSTER command can be changed to not take an
> exclusive lock on the table,
No. Committing the relfilenode swap would cut the knees off of any
active scan on the old file.
regards, tom lane