forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1118cd3
committed
Remove vacuum_defer_cleanup_age
vacuum_defer_cleanup_age was introduced before hot_standby_feedback andreplication slots existed. It is hard to use reasonably - commonly it willeither be set too low (not preventing recovery conflicts, while still causingsome bloat), or too high (causing a lot of bloat). The alternatives do nothave that issue.That on its own might not be sufficient reason to removevacuum_defer_cleanup_age, but it also complicates computation of xidhorizons. See e.g. the bug fixed inbe504a3. It also is untested.This commit removes TransactionIdRetreatSafely(), as there are no usersanymore. There might be potential future users, hence noting that here.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>Discussion:https://postgr.es/m/20230317230930.nhsgk3qfk7f4axls@awork3.anarazel.de1 parent441ee16 commit1118cd3
File tree
8 files changed
+15
-170
lines changed- doc/src/sgml
- src
- backend
- storage/ipc
- utils/misc
- bin/pg_upgrade
- include/storage
8 files changed
+15
-170
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4614 | 4614 | | |
4615 | 4615 | | |
4616 | 4616 | | |
4617 | | - | |
4618 | | - | |
4619 | | - | |
4620 | | - | |
4621 | | - | |
4622 | | - | |
4623 | | - | |
4624 | | - | |
4625 | | - | |
4626 | | - | |
4627 | | - | |
4628 | | - | |
4629 | | - | |
4630 | | - | |
4631 | | - | |
4632 | | - | |
4633 | | - | |
4634 | | - | |
4635 | | - | |
4636 | | - | |
4637 | | - | |
4638 | | - | |
4639 | | - | |
4640 | | - | |
4641 | | - | |
4642 | | - | |
4643 | | - | |
4644 | | - | |
4645 | | - | |
4646 | | - | |
4647 | | - | |
4648 | | - | |
4649 | | - | |
4650 | | - | |
4651 | | - | |
4652 | 4617 | | |
4653 | 4618 | | |
4654 | 4619 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
952 | | - | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
953 | 952 | | |
954 | 953 | | |
955 | 954 | | |
| |||
1910 | 1909 | | |
1911 | 1910 | | |
1912 | 1911 | | |
1913 | | - | |
1914 | | - | |
1915 | | - | |
1916 | | - | |
1917 | | - | |
1918 | | - | |
1919 | | - | |
1920 | | - | |
1921 | | - | |
1922 | | - | |
1923 | | - | |
1924 | 1912 | | |
1925 | 1913 | | |
1926 | 1914 | | |
| |||
2257 | 2245 | | |
2258 | 2246 | | |
2259 | 2247 | | |
2260 | | - | |
2261 | | - | |
| 2248 | + | |
2262 | 2249 | | |
2263 | 2250 | | |
2264 | 2251 | | |
| |||
2268 | 2255 | | |
2269 | 2256 | | |
2270 | 2257 | | |
2271 | | - | |
2272 | | - | |
2273 | | - | |
2274 | 2258 | | |
2275 | 2259 | | |
2276 | 2260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | 370 | | |
374 | 371 | | |
375 | 372 | | |
| |||
1709 | 1706 | | |
1710 | 1707 | | |
1711 | 1708 | | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | | - | |
| 1709 | + | |
1716 | 1710 | | |
1717 | 1711 | | |
1718 | 1712 | | |
| |||
1877 | 1871 | | |
1878 | 1872 | | |
1879 | 1873 | | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
1883 | | - | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
1887 | | - | |
1888 | | - | |
1889 | | - | |
1890 | | - | |
1891 | | - | |
1892 | | - | |
1893 | | - | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
1897 | | - | |
1898 | | - | |
1899 | | - | |
1900 | | - | |
1901 | | - | |
1902 | | - | |
1903 | 1874 | | |
1904 | | - | |
1905 | | - | |
1906 | | - | |
1907 | | - | |
1908 | | - | |
1909 | | - | |
1910 | | - | |
1911 | | - | |
1912 | | - | |
1913 | | - | |
1914 | | - | |
1915 | | - | |
1916 | | - | |
1917 | | - | |
1918 | | - | |
1919 | | - | |
1920 | | - | |
1921 | | - | |
1922 | | - | |
1923 | | - | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
1924 | 1879 | | |
1925 | 1880 | | |
1926 | 1881 | | |
| |||
1947 | 1902 | | |
1948 | 1903 | | |
1949 | 1904 | | |
1950 | | - | |
1951 | | - | |
| 1905 | + | |
| 1906 | + | |
1952 | 1907 | | |
1953 | 1908 | | |
1954 | 1909 | | |
| |||
2490 | 2445 | | |
2491 | 2446 | | |
2492 | 2447 | | |
2493 | | - | |
2494 | | - | |
2495 | | - | |
2496 | | - | |
2497 | | - | |
2498 | | - | |
2499 | 2448 | | |
2500 | 2449 | | |
2501 | | - | |
| 2450 | + | |
2502 | 2451 | | |
2503 | 2452 | | |
2504 | 2453 | | |
| |||
4320 | 4269 | | |
4321 | 4270 | | |
4322 | 4271 | | |
4323 | | - | |
4324 | | - | |
4325 | | - | |
4326 | | - | |
4327 | | - | |
4328 | | - | |
4329 | | - | |
4330 | | - | |
4331 | | - | |
4332 | | - | |
4333 | | - | |
4334 | | - | |
4335 | | - | |
4336 | | - | |
4337 | | - | |
4338 | | - | |
4339 | | - | |
4340 | | - | |
4341 | | - | |
4342 | | - | |
4343 | | - | |
4344 | | - | |
4345 | | - | |
4346 | | - | |
4347 | | - | |
4348 | | - | |
4349 | | - | |
4350 | | - | |
4351 | | - | |
4352 | | - | |
4353 | | - | |
4354 | | - | |
4355 | | - | |
4356 | | - | |
4357 | | - | |
4358 | | - | |
4359 | | - | |
4360 | | - | |
4361 | 4272 | | |
4362 | 4273 | | |
4363 | 4274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2576 | 2576 | | |
2577 | 2577 | | |
2578 | 2578 | | |
2579 | | - | |
2580 | | - | |
2581 | | - | |
2582 | | - | |
2583 | | - | |
2584 | | - | |
2585 | | - | |
2586 | | - | |
2587 | | - | |
2588 | 2579 | | |
2589 | 2580 | | |
2590 | 2581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | 332 | | |
334 | 333 | | |
335 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 237 | | |
241 | 238 | | |
242 | 239 | | |
243 | 240 | | |
244 | 241 | | |
245 | 242 | | |
246 | 243 | | |
247 | | - | |
| 244 | + | |
248 | 245 | | |
249 | 246 | | |
250 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
0 commit comments
Comments
(0)