Fix comment related to concurrent index swapping in index.c
authorMichael Paquier
Thu, 19 Mar 2020 00:51:40 +0000 (09:51 +0900)
committerMichael Paquier
Thu, 19 Mar 2020 00:51:40 +0000 (09:51 +0900)
commitfdaa16aecfd98eb72718cbfe2d645c0b4e3124cd
tree9909548bd103a164d47e85c57b16398996d2b55a
parent21b1cb6a786e0e0598a7d2b262e1a5ca0dfceba4
Fix comment related to concurrent index swapping in index.c

A comment about switching indisvalid of the new and old indexes swapped
in REINDEX CONCURRENTLY got this backwards.

Issue introduced by 5dc92b8, the original commit of REINDEX
CONCURRENTLY.

Author: Julien Rouhaud
Discussion: https://postgr.es/m/20200318143340.GA46897@nol
Backpatch-through: 12
src/backend/catalog/index.c