Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
13761bcc
Commit
13761bcc
authored
Jun 10, 2016
by
Kevin Grittner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename local variable for consistency.
Pointed out by Robert Haas.
parent
a8501ba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/backend/catalog/index.c
src/backend/catalog/index.c
+4
-4
No files found.
src/backend/catalog/index.c
View file @
13761bcc
...
@@ -3408,7 +3408,7 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
...
@@ -3408,7 +3408,7 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
HeapTuple
indexTuple
;
HeapTuple
indexTuple
;
Form_pg_index
indexForm
;
Form_pg_index
indexForm
;
bool
index_bad
;
bool
index_bad
;
bool
early_
vacuum
_enabled
=
EarlyPruningEnabled
(
heapRelation
);
bool
early_
pruning
_enabled
=
EarlyPruningEnabled
(
heapRelation
);
pg_index
=
heap_open
(
IndexRelationId
,
RowExclusiveLock
);
pg_index
=
heap_open
(
IndexRelationId
,
RowExclusiveLock
);
...
@@ -3423,11 +3423,11 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
...
@@ -3423,11 +3423,11 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
!
indexForm
->
indislive
);
!
indexForm
->
indislive
);
if
(
index_bad
||
if
(
index_bad
||
(
indexForm
->
indcheckxmin
&&
!
indexInfo
->
ii_BrokenHotChain
)
||
(
indexForm
->
indcheckxmin
&&
!
indexInfo
->
ii_BrokenHotChain
)
||
early_
vacuum
_enabled
)
early_
pruning
_enabled
)
{
{
if
(
!
indexInfo
->
ii_BrokenHotChain
&&
!
early_
vacuum
_enabled
)
if
(
!
indexInfo
->
ii_BrokenHotChain
&&
!
early_
pruning
_enabled
)
indexForm
->
indcheckxmin
=
false
;
indexForm
->
indcheckxmin
=
false
;
else
if
(
index_bad
||
early_
vacuum
_enabled
)
else
if
(
index_bad
||
early_
pruning
_enabled
)
indexForm
->
indcheckxmin
=
true
;
indexForm
->
indcheckxmin
=
true
;
indexForm
->
indisvalid
=
true
;
indexForm
->
indisvalid
=
true
;
indexForm
->
indisready
=
true
;
indexForm
->
indisready
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment