ALTER TABLE SET STATISTICS requires AccessExclusiveLock

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers@postgresql.org
Date: 2009-08-07T13:58:42Z
Lists: pgsql-hackers
Is there a good reason for $subject, other than that the code is entangled 
with other ALTER TABLE code?

The new SET DISTINCT might be equally affected.