aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/lockfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-07-13 15:01:01 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-07-13 15:01:01 -0400
commitd68a00391214be2020e49be4b55f761d47a5c229 (patch)
tree766b2aebf10bbe67fb38bcc012425c11d06792eb /src/backend/utils/adt/lockfuncs.c
parente0271d5f1e871dd61efc26bda8a0b556c7935901 (diff)
downloadpostgresql-d68a00391214be2020e49be4b55f761d47a5c229.tar.gz
postgresql-d68a00391214be2020e49be4b55f761d47a5c229.zip
Rename debug_invalidate_system_caches_always to debug_discard_caches.
The name introduced by commit 4656e3d66 was agreed to be unreasonably long. To match this change, rename initdb's recently-added --clobber-cache option to --discard-caches. Discussion: https://postgr.es/m/1374320.1625430433@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/lockfuncs.c')
-rw-r--r--src/backend/utils/adt/lockfuncs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/adt/lockfuncs.c b/src/backend/utils/adt/lockfuncs.c
index 085fec3ea20..5dc0a5882cf 100644
--- a/src/backend/utils/adt/lockfuncs.c
+++ b/src/backend/utils/adt/lockfuncs.c
@@ -636,10 +636,10 @@ pg_isolation_test_session_is_blocked(PG_FUNCTION_ARGS)
* Check if any of these are in the list of interesting PIDs, that being
* the sessions that the isolation tester is running. We don't use
* "arrayoverlaps" here, because it would lead to cache lookups and one of
- * our goals is to run quickly with debug_invalidate_system_caches_always
- * > 0. We expect blocking_pids to be usually empty and otherwise a very
- * small number in isolation tester cases, so make that the outer loop of
- * a naive search for a match.
+ * our goals is to run quickly with debug_discard_caches > 0. We expect
+ * blocking_pids to be usually empty and otherwise a very small number in
+ * isolation tester cases, so make that the outer loop of a naive search
+ * for a match.
*/
for (i = 0; i < num_blocking_pids; i++)
for (j = 0; j < num_interesting_pids; j++)