Remove obsolete IndexIs* macros
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 27 Dec 2018 09:07:46 +0000 (10:07 +0100)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 27 Dec 2018 09:07:46 +0000 (10:07 +0100)
commitae4472c619341ff0517254d395d74796277622e6
tree5daca0e94126883dae6814c2ecbadc87c085f0db
parent5c828307973366f424438b848d4cca6ef98c032e
Remove obsolete IndexIs* macros

Remove IndexIsValid(), IndexIsReady(), IndexIsLive() in favor of
accessing the index structure directly.  These macros haven't been
used consistently, and the original reason of maintaining source
compatibility with PostgreSQL 9.2 is gone.

Discussion: https://www.postgresql.org/message-id/flat/d419147c-09d4-6196-5d9d-0234b230880a%402ndquadrant.com
14 files changed:
contrib/amcheck/verify_nbtree.c
contrib/tcn/tcn.c
src/backend/access/heap/tuptoaster.c
src/backend/catalog/index.c
src/backend/commands/cluster.c
src/backend/commands/indexcmds.c
src/backend/commands/matview.c
src/backend/commands/tablecmds.c
src/backend/commands/vacuum.c
src/backend/executor/execIndexing.c
src/backend/optimizer/util/plancat.c
src/backend/parser/parse_utilcmd.c
src/backend/utils/cache/relcache.c
src/include/catalog/pg_index.h