- Notifications
You must be signed in to change notification settings - Fork5
Commitdbdfd11
committed
Bring some clarity to the defaults for the xxx_flush_after parameters.
Instead of confusingly stating platform-dependent defaults for theseparameters in the comments in postgresql.conf.sample (with the mainentry being a lie on Linux), teach initdb to install the correctplatform-dependent value in postgresql.conf, similarly to the waywe handle other platform-dependent defaults. This won't do anythingfor existing 9.6 installations, but since it's effectively only adocumentation improvement, that seems OK.Since this requires initdb to have access to the default values,move the #define's for those to pg_config_manual.h; the originalplacement in bufmgr.h is unworkable because that file can't beincluded by frontend programs.Adjust the default value for wal_writer_flush_after so that it is 1MBregardless of XLOG_BLCKSZ, conforming to what is stated in both theSGML docs and postgresql.conf. (We could alternatively make it scalewith XLOG_BLCKSZ, but I'm not sure I see the point.)Copy-edit related SGML documentation.Fabien Coelho and Tom Lane, per a gripe from Tomas Vondra.Discussion: <30ebc6e3-8358-09cf-44a8-578252938424@2ndquadrant.com>1 parentab77a5a commitdbdfd11
File tree
7 files changed
+66
-41
lines changed- doc/src/sgml
- src
- backend
- access/transam
- utils/misc
- bin/initdb
- include
- storage
7 files changed
+66
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1903 | 1903 | | |
1904 | 1904 | | |
1905 | 1905 | | |
1906 | | - | |
| 1906 | + | |
1907 | 1907 | | |
1908 | | - | |
1909 | | - | |
| 1908 | + | |
| 1909 | + | |
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
| |||
2055 | 2055 | | |
2056 | 2056 | | |
2057 | 2057 | | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
2062 | 2062 | | |
2063 | 2063 | | |
2064 | 2064 | | |
| |||
2518 | 2518 | | |
2519 | 2519 | | |
2520 | 2520 | | |
2521 | | - | |
| 2521 | + | |
2522 | 2522 | | |
2523 | 2523 | | |
2524 | | - | |
| 2524 | + | |
| 2525 | + | |
2525 | 2526 | | |
2526 | 2527 | | |
2527 | 2528 | | |
| |||
2540 | 2541 | | |
2541 | 2542 | | |
2542 | 2543 | | |
2543 | | - | |
| 2544 | + | |
2544 | 2545 | | |
2545 | 2546 | | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
2549 | 2550 | | |
2550 | 2551 | | |
2551 | 2552 | | |
| |||
2665 | 2666 | | |
2666 | 2667 | | |
2667 | 2668 | | |
2668 | | - | |
| 2669 | + | |
2669 | 2670 | | |
2670 | | - | |
2671 | | - | |
| 2671 | + | |
| 2672 | + | |
2672 | 2673 | | |
2673 | 2674 | | |
2674 | 2675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2759 | 2759 | | |
2760 | 2760 | | |
2761 | 2761 | | |
2762 | | - | |
| 2762 | + | |
2763 | 2763 | | |
2764 | 2764 | | |
2765 | 2765 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2281 | 2281 | | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | | - | |
2285 | 2284 | | |
2286 | 2285 | | |
2287 | 2286 | | |
| |||
2310 | 2309 | | |
2311 | 2310 | | |
2312 | 2311 | | |
2313 | | - | |
| 2312 | + | |
2314 | 2313 | | |
2315 | 2314 | | |
2316 | 2315 | | |
2317 | 2316 | | |
2318 | | - | |
| 2317 | + | |
2319 | 2318 | | |
2320 | 2319 | | |
2321 | 2320 | | |
| |||
2439 | 2438 | | |
2440 | 2439 | | |
2441 | 2440 | | |
2442 | | - | |
2443 | 2441 | | |
2444 | 2442 | | |
2445 | 2443 | | |
| |||
2467 | 2465 | | |
2468 | 2466 | | |
2469 | 2467 | | |
2470 | | - | |
| 2468 | + | |
2471 | 2469 | | |
2472 | 2470 | | |
2473 | 2471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
| 159 | + | |
161 | 160 | | |
162 | 161 | | |
163 | 162 | | |
| |||
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
169 | | - | |
| 168 | + | |
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
| |||
196 | 195 | | |
197 | 196 | | |
198 | 197 | | |
199 | | - | |
| 198 | + | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
| |||
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
210 | | - | |
211 | | - | |
| 209 | + | |
212 | 210 | | |
213 | 211 | | |
214 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | | - | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
1095 | 1095 | | |
1096 | 1096 | | |
1097 | 1097 | | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
1098 | 1119 | | |
1099 | 1120 | | |
1100 | 1121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
150 | 168 | | |
151 | 169 | | |
152 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 57 | | |
69 | 58 | | |
70 | 59 | | |
| |||
0 commit comments
Comments
(0)