On October 21, 2015 9:47:45 PM GMT+02:00, Tom Lane <t...@sss.pgh.pa.us> wrote:
>Jim Nasby <jim.na...@bluetreble.com> writes:
>> While warning a client that just did a Slony-based version upgrade to
>
>> make sure to freeze the new database, it occurred to me that it
>should 
>> be safe to freeze without the cleanup lock.
>
>What's your argument for that being safe?

It doesn't affect tuple contents and thus backends having a pin can continue 
looking at tuple contents. The reason we need a cleanup lock is IIRC repairing 
page fragmentation / hot pruning, not freezing.

Andres

--- 
Please excuse brevity and formatting - I am writing this on my mobile phone.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to