While I'm looking at this: there seems to be a bug/inconsistency in heap_xlog_freeze(). It uses a cleanup lock in the "normal" code path, but it doesn't tell RestoreBkpBlocks to use a cleanup lock. Which choice is correct?
regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers