If you want to be my friend forever, then fix CLUSTER so that it uses sharerowexclusive as well :D

I don't think it's as easy as that, because you have to move tuples around in the cluster operation. Same sort of issue as vacuum full I would suggest.

Cluster doesn't move rows...

I didn't say it was easy. It would involve changing how cluster works. It would keep the old table around while building the new, then grab an exclusive lock to swap the two.

Chris

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply via email to