forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb741f4c
committed
Add --clobber-cache option to initdb, for CCA testing.
Commit4656e3d replaced the "#define CLOBBER_CACHE_ALWAYS"testing mechanism with a GUC, which has been a great help fordoing cache-clobber testing in more efficient ways; but thereis a gap in the implementation. The only way to do cache-clobbertesting during an initdb run is to use the old method with #define,because one can't set the GUC from outside. Improve this byadding a switch to initdb for the purpose.(Perhaps someday we should let initdb pass through arbitrary"-c NAME=VALUE" switches. Quoting difficulties dissuaded mefrom attempting that right now, though.)Back-patch to v14 where4656e3d came in.Discussion:https://postgr.es/m/1582507.1624227029@sss.pgh.pa.us1 parentd700518 commitb741f4c
2 files changed
+29
-8
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
388 | 388 |
| |
389 | 389 |
| |
390 | 390 |
| |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
391 | 402 |
| |
392 | 403 |
| |
393 | 404 |
| |
|
Lines changed: 18 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
202 | 202 |
| |
203 | 203 |
| |
204 | 204 |
| |
| 205 | + | |
| 206 | + | |
| 207 | + | |
205 | 208 |
| |
206 | 209 |
| |
207 | 210 |
| |
| |||
962 | 965 |
| |
963 | 966 |
| |
964 | 967 |
| |
965 |
| - | |
| 968 | + | |
966 | 969 |
| |
967 | 970 |
| |
968 | 971 |
| |
969 | 972 |
| |
970 |
| - | |
| 973 | + | |
971 | 974 |
| |
972 | 975 |
| |
973 | 976 |
| |
| |||
998 | 1001 |
| |
999 | 1002 |
| |
1000 | 1003 |
| |
1001 |
| - | |
| 1004 | + | |
1002 | 1005 |
| |
1003 | 1006 |
| |
1004 | 1007 |
| |
1005 | 1008 |
| |
1006 |
| - | |
| 1009 | + | |
1007 | 1010 |
| |
1008 | 1011 |
| |
1009 | 1012 |
| |
| |||
1403 | 1406 |
| |
1404 | 1407 |
| |
1405 | 1408 |
| |
1406 |
| - | |
| 1409 | + | |
1407 | 1410 |
| |
1408 | 1411 |
| |
1409 | 1412 |
| |
1410 |
| - | |
| 1413 | + | |
1411 | 1414 |
| |
1412 | 1415 |
| |
1413 | 1416 |
| |
| |||
2263 | 2266 |
| |
2264 | 2267 |
| |
2265 | 2268 |
| |
| 2269 | + | |
2266 | 2270 |
| |
2267 | 2271 |
| |
2268 | 2272 |
| |
| |||
2863 | 2867 |
| |
2864 | 2868 |
| |
2865 | 2869 |
| |
2866 |
| - | |
2867 |
| - | |
| 2870 | + | |
| 2871 | + | |
2868 | 2872 |
| |
2869 | 2873 |
| |
2870 | 2874 |
| |
| |||
2943 | 2947 |
| |
2944 | 2948 |
| |
2945 | 2949 |
| |
| 2950 | + | |
2946 | 2951 |
| |
2947 | 2952 |
| |
2948 | 2953 |
| |
| |||
3084 | 3089 |
| |
3085 | 3090 |
| |
3086 | 3091 |
| |
| 3092 | + | |
| 3093 | + | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
3087 | 3097 |
| |
3088 | 3098 |
| |
3089 | 3099 |
| |
|
0 commit comments
Comments
(0)