• Simon Riggs's avatar
    Reduce lock levels for ALTER TABLE SET autovacuum storage options · 47167b79
    Simon Riggs authored
    Reduce lock levels down to ShareUpdateExclusiveLock for all autovacuum-related
    relation options when setting them using ALTER TABLE.
    
    Add infrastructure to allow varying lock levels for relation options in later
    patches. Setting multiple options together uses the highest lock level required
    for any option. Works for both main and toast tables.
    
    Fabrízio Mello, reviewed by Michael Paquier, mild edit and additional regression
    tests from myself
    47167b79
reloptions.h 8.84 KB