Fix comment related to concurrent index swapping in index.c
authorMichael Paquier <michael@paquier.xyz>
Thu, 19 Mar 2020 00:51:33 +0000 (09:51 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 19 Mar 2020 00:51:33 +0000 (09:51 +0900)
commitd41202f36eed97a4ee68a6a9f5fcca314f12c35d
tree5e755142ccb95ef2dfd069e5503f34bc597f252e
parent1f39bce021540fde00990af55b4432c55ef4b3c7
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