aboutsummaryrefslogtreecommitdiff
path: root/src/common/jsonapi.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-07-01 13:33:05 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-07-01 13:33:05 -0400
commitb741f4c3ee67666aa333dbb25bd71906b3474def (patch)
tree2d729ddb09ea71e44234340da38426eb939a0e5e /src/common/jsonapi.c
parentd700518d744e53994fdded14b23ebc15b031b0dd (diff)
downloadpostgresql-b741f4c3ee67666aa333dbb25bd71906b3474def.tar.gz
postgresql-b741f4c3ee67666aa333dbb25bd71906b3474def.zip
Add --clobber-cache option to initdb, for CCA testing.
Commit 4656e3d66 replaced the "#define CLOBBER_CACHE_ALWAYS" testing mechanism with a GUC, which has been a great help for doing cache-clobber testing in more efficient ways; but there is a gap in the implementation. The only way to do cache-clobber testing during an initdb run is to use the old method with #define, because one can't set the GUC from outside. Improve this by adding a switch to initdb for the purpose. (Perhaps someday we should let initdb pass through arbitrary "-c NAME=VALUE" switches. Quoting difficulties dissuaded me from attempting that right now, though.) Back-patch to v14 where 4656e3d66 came in. Discussion: https://postgr.es/m/1582507.1624227029@sss.pgh.pa.us
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions