forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit48188e1
committed
Fix recently-understood problems with handling of XID freezing, particularly
in PITR scenarios. We now WAL-log the replacement of old XIDs withFrozenTransactionId, so that such replacement is guaranteed to propagate toPITR slave databases. Also, rather than relying on hint-bit updates to bepreserved, pg_clog is not truncated until all instances of an XID are known tohave been replaced by FrozenTransactionId. Add new GUC variables andpg_autovacuum columns to allow management of the freezing policy, so thatusers can trade off the size of pg_clog against the amount of freezing workdone. Revise the already-existing code that forces autovacuum of tablesapproaching the wraparound point to make it more bulletproof; also, revise theautovacuum logic so that anti-wraparound vacuuming is done per-table ratherthan per-database. initdb forced because of changes in pg_class, pg_database,and pg_autovacuum catalogs. Heikki Linnakangas, Simon Riggs, and Tom Lane.1 parent10c70b8 commit48188e1
File tree
43 files changed
+1284
-1062
lines changed- doc/src/sgml
- ref
- src
- backend
- access
- heap
- transam
- catalog
- commands
- libpq
- nodes
- parser
- postmaster
- storage/ipc
- utils
- init
- misc
- time
- include
- access
- catalog
- commands
- libpq
- nodes
- postmaster
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+1284
-1062
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
1244 | 1258 | | |
1245 | 1259 | | |
1246 | 1260 | | |
| |||
1258 | 1272 | | |
1259 | 1273 | | |
1260 | 1274 | | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
1261 | 1286 | | |
1262 | 1287 | | |
1263 | 1288 | | |
| |||
1266 | 1291 | | |
1267 | 1292 | | |
1268 | 1293 | | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1269 | 1298 | | |
1270 | 1299 | | |
1271 | 1300 | | |
| |||
1633 | 1662 | | |
1634 | 1663 | | |
1635 | 1664 | | |
1636 | | - | |
| 1665 | + | |
1637 | 1666 | | |
1638 | 1667 | | |
1639 | 1668 | | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
1656 | 1674 | | |
1657 | 1675 | | |
1658 | 1676 | | |
| |||
2035 | 2053 | | |
2036 | 2054 | | |
2037 | 2055 | | |
2038 | | - | |
2039 | | - | |
2040 | | - | |
2041 | | - | |
2042 | | - | |
2043 | | - | |
2044 | | - | |
2045 | | - | |
2046 | | - | |
2047 | | - | |
2048 | | - | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | | - | |
| 2056 | + | |
2053 | 2057 | | |
2054 | 2058 | | |
2055 | 2059 | | |
2056 | | - | |
2057 | | - | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
2063 | 2066 | | |
2064 | 2067 | | |
2065 | 2068 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
3217 | 3217 | | |
3218 | 3218 | | |
3219 | 3219 | | |
| 3220 | + | |
| 3221 | + | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
3220 | 3242 | | |
3221 | 3243 | | |
3222 | 3244 | | |
| |||
3427 | 3449 | | |
3428 | 3450 | | |
3429 | 3451 | | |
3430 | | - | |
| 3452 | + | |
3431 | 3453 | | |
3432 | 3454 | | |
3433 | 3455 | | |
| |||
3444 | 3466 | | |
3445 | 3467 | | |
3446 | 3468 | | |
| 3469 | + | |
| 3470 | + | |
| 3471 | + | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
3447 | 3489 | | |
3448 | 3490 | | |
3449 | 3491 | | |
| |||
0 commit comments
Comments
(0)