Use TupleDescAttr macro consistently
authorDavid Rowley
Tue, 2 Jul 2024 01:41:47 +0000 (13:41 +1200)
committerDavid Rowley
Tue, 2 Jul 2024 01:41:47 +0000 (13:41 +1200)
commit65b71dec2d577e9ef7423773a88fdd075f3eb97f
tree29eb2dbbbb577b2c2ad64b4a21fdc0f660aa5347
parent0c1aca461481216ff5a0e65538c4880bcf346433
Use TupleDescAttr macro consistently

A few places were directly accessing the attrs[] array. This goes
against the standards set by 2cd708452. Fix that.

Discussion: https://postgr.es/m/CAApHDvrBztXP3yx=NKNmo3xwFAFhEdyPnvrDg3=M0RhDs+4vYw@mail.gmail.com
contrib/pageinspect/gistfuncs.c
src/backend/catalog/heap.c
src/backend/commands/prepare.c
src/backend/executor/nodeIndexonlyscan.c
src/backend/executor/nodeMemoize.c
src/backend/optimizer/util/plancat.c