Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

cluster.c

Blame
    • Alvaro Herrera's avatar
      f54106f7
      Fix full-table-vacuum request mechanism for MultiXactIds · f54106f7
      Alvaro Herrera authored
      While autovacuum dutifully launched anti-multixact-wraparound vacuums
      when the multixact "age" was reached, the vacuum code was not aware that
      it needed to make them be full table vacuums.  As the resulting
      partial-table vacuums aren't capable of actually increasing relminmxid,
      autovacuum continued to launch anti-wraparound vacuums that didn't have
      the intended effect, until age of relfrozenxid caused the vacuum to
      finally be a full table one via vacuum_freeze_table_age.
      
      To fix, introduce logic for multixacts similar to that for plain
      TransactionIds, using the same GUCs.
      
      Backpatch to 9.3, where permanent MultiXactIds were introduced.
      
      Andres Freund, some cleanup by Álvaro
      f54106f7
      History
      Fix full-table-vacuum request mechanism for MultiXactIds
      Alvaro Herrera authored
      While autovacuum dutifully launched anti-multixact-wraparound vacuums
      when the multixact "age" was reached, the vacuum code was not aware that
      it needed to make them be full table vacuums.  As the resulting
      partial-table vacuums aren't capable of actually increasing relminmxid,
      autovacuum continued to launch anti-wraparound vacuums that didn't have
      the intended effect, until age of relfrozenxid caused the vacuum to
      finally be a full table one via vacuum_freeze_table_age.
      
      To fix, introduce logic for multixacts similar to that for plain
      TransactionIds, using the same GUCs.
      
      Backpatch to 9.3, where permanent MultiXactIds were introduced.
      
      Andres Freund, some cleanup by Álvaro