- Notifications
You must be signed in to change notification settings - Fork28
Commit255bcd2
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 parent474de76 commit255bcd2
File tree
7 files changed
+65
-40
lines changed- doc/src/sgml
- src
- backend
- access/transam
- utils/misc
- bin/initdb
- include
- storage
7 files changed
+65
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1902 | 1902 | | |
1903 | 1903 | | |
1904 | 1904 | | |
1905 | | - | |
| 1905 | + | |
1906 | 1906 | | |
1907 | | - | |
1908 | | - | |
| 1907 | + | |
| 1908 | + | |
1909 | 1909 | | |
1910 | 1910 | | |
1911 | 1911 | | |
| |||
2054 | 2054 | | |
2055 | 2055 | | |
2056 | 2056 | | |
2057 | | - | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
2061 | 2061 | | |
2062 | 2062 | | |
2063 | 2063 | | |
| |||
2517 | 2517 | | |
2518 | 2518 | | |
2519 | 2519 | | |
2520 | | - | |
| 2520 | + | |
2521 | 2521 | | |
2522 | 2522 | | |
2523 | | - | |
| 2523 | + | |
| 2524 | + | |
2524 | 2525 | | |
2525 | 2526 | | |
2526 | 2527 | | |
| |||
2539 | 2540 | | |
2540 | 2541 | | |
2541 | 2542 | | |
2542 | | - | |
| 2543 | + | |
2543 | 2544 | | |
2544 | 2545 | | |
2545 | | - | |
2546 | | - | |
2547 | | - | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
2548 | 2549 | | |
2549 | 2550 | | |
2550 | 2551 | | |
| |||
2664 | 2665 | | |
2665 | 2666 | | |
2666 | 2667 | | |
2667 | | - | |
| 2668 | + | |
2668 | 2669 | | |
2669 | | - | |
2670 | | - | |
| 2670 | + | |
| 2671 | + | |
2671 | 2672 | | |
2672 | 2673 | | |
2673 | 2674 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2755 | 2755 | | |
2756 | 2756 | | |
2757 | 2757 | | |
2758 | | - | |
| 2758 | + | |
2759 | 2759 | | |
2760 | 2760 | | |
2761 | 2761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2275 | 2275 | | |
2276 | 2276 | | |
2277 | 2277 | | |
2278 | | - | |
2279 | 2278 | | |
2280 | 2279 | | |
2281 | 2280 | | |
| |||
2304 | 2303 | | |
2305 | 2304 | | |
2306 | 2305 | | |
2307 | | - | |
| 2306 | + | |
2308 | 2307 | | |
2309 | 2308 | | |
2310 | 2309 | | |
2311 | 2310 | | |
2312 | | - | |
| 2311 | + | |
2313 | 2312 | | |
2314 | 2313 | | |
2315 | 2314 | | |
| |||
2433 | 2432 | | |
2434 | 2433 | | |
2435 | 2434 | | |
2436 | | - | |
2437 | 2435 | | |
2438 | 2436 | | |
2439 | 2437 | | |
| |||
2461 | 2459 | | |
2462 | 2460 | | |
2463 | 2461 | | |
2464 | | - | |
| 2462 | + | |
2465 | 2463 | | |
2466 | 2464 | | |
2467 | 2465 | | |
| |||
| 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 | | |
164 | 163 | | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
168 | | - | |
169 | | - | |
| 167 | + | |
| 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 | |
|---|---|---|---|
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1290 | 1311 | | |
1291 | 1312 | | |
1292 | 1313 | | |
| |||
| 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)