Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfdaa16a

Browse files
committed
Fix comment related to concurrent index swapping in index.c
A comment about switching indisvalid of the new and old indexes swappedin REINDEX CONCURRENTLY got this backwards.Issue introduced by5dc92b8, the original commit of REINDEXCONCURRENTLY.Author: Julien RouhaudDiscussion:https://postgr.es/m/20200318143340.GA46897@nolBackpatch-through: 12
1 parent21b1cb6 commitfdaa16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/catalog/index.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ index_concurrently_swap(Oid newIndexId, Oid oldIndexId, const char *oldName)
15321532
newIndexForm->indisclustered=oldIndexForm->indisclustered;
15331533

15341534
/*
1535-
* Mark theold index as valid, and thenew index as invalid similarly
1535+
* Mark thenew index as valid, and theold index as invalid similarly
15361536
* to what index_set_state_flags() does.
15371537
*/
15381538
newIndexForm->indisvalid= true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp