Skip to content

Commit 13761bc

Browse files
committed
Rename local variable for consistency.
Pointed out by Robert Haas.
1 parent a8501ba commit 13761bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/catalog/index.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3408,7 +3408,7 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
34083408
HeapTuple indexTuple;
34093409
Form_pg_index indexForm;
34103410
bool index_bad;
3411-
bool early_vacuum_enabled = EarlyPruningEnabled(heapRelation);
3411+
bool early_pruning_enabled = EarlyPruningEnabled(heapRelation);
34123412

34133413
pg_index = heap_open(IndexRelationId, RowExclusiveLock);
34143414

@@ -3423,11 +3423,11 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
34233423
!indexForm->indislive);
34243424
if (index_bad ||
34253425
(indexForm->indcheckxmin && !indexInfo->ii_BrokenHotChain) ||
3426-
early_vacuum_enabled)
3426+
early_pruning_enabled)
34273427
{
3428-
if (!indexInfo->ii_BrokenHotChain && !early_vacuum_enabled)
3428+
if (!indexInfo->ii_BrokenHotChain && !early_pruning_enabled)
34293429
indexForm->indcheckxmin = false;
3430-
else if (index_bad || early_vacuum_enabled)
3430+
else if (index_bad || early_pruning_enabled)
34313431
indexForm->indcheckxmin = true;
34323432
indexForm->indisvalid = true;
34333433
indexForm->indisready = true;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy