diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-11-28 16:52:54 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-11-29 21:47:13 -0300 |
commit | f54106f77e6d71cbb3fa0924095e5142341fde2b (patch) | |
tree | cee909f9b7febc4d8cb40839f1bbf70b52f18d59 /src/backend/access/gist/gistbuildbuffers.c | |
parent | 76a31c689c627268067175b5d0687ce0dac9a4f4 (diff) | |
download | postgresql-f54106f77e6d71cbb3fa0924095e5142341fde2b.tar.gz postgresql-f54106f77e6d71cbb3fa0924095e5142341fde2b.zip |
Fix full-table-vacuum request mechanism for MultiXactIds
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
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions