Doubt about AccessExclusiveLock in ALTER TABLE .. SET ( .. ); - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Doubt about AccessExclusiveLock in ALTER TABLE .. SET ( .. );
Date
Msg-id CAFcNs+oX7jVENC_3i54fDQ3ibmOGmknc2tMevdSmvojbSXGbGg@mail.gmail.com
Whole thread Raw
Responses Re: Doubt about AccessExclusiveLock in ALTER TABLE .. SET ( .. );  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
Hi all,

I'm tweaking some autovacuum settings in a table with high write usage but with ALTER TABLE .. SET ( .. ) this task was impossible, so I did a catalog update  (pg_class) to change reloptions.

Maybe it's a stupid doubt, but why we need to get an AccessExclusiveLock on relation to set reloptions if we just touch in pg_class tuples (RowExclusiveLock) ?

Regards,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Bug fix for missing years in make_date()
Next
From: Alexander Korotkov
Date:
Subject: Re: GSoC 2015 proposal. Bitmap Index-only Count