> 4 нояб. 2021 г., в 20:58, Peter Geoghegan <pg(at)bowt(dot)ie> написал(а): > That's a pretty unlikely scenario. And even > if it happened it would only happen once (until the next time we get > unlucky). What are the chances of somebody noticing a more or less > once-off, slightly wrong answer?
I'd say next to impossible, yet not impossible. Or, perhaps, I do not see protection from this.
Moreover there's a "microvacuum". It kills tuples with BUFFER_LOCK_SHARE. AFAIU it should take cleanup lock on buffer too?