pgsql: Fix comment related to concurrent index swapping in index.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix comment related to concurrent index swapping in index.c
Date
Msg-id E1jEjQe-0003Lh-3V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d41202f36eed97a4ee68a6a9f5fcca314f12c35d

Modified Files
--------------
src/backend/catalog/index.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Disk-based Hash Aggregation.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: nbtree: Use raw PageAddItem() for retail inserts.