pgsql: Use TupleDescAttr macro consistently

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use TupleDescAttr macro consistently
Date: 2024-07-02 01:42:04
Message-ID: E1sOSWy-003rbc-1N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/65b71dec2d577e9ef7423773a88fdd075f3eb97f

Modified Files
--------------
contrib/pageinspect/gistfuncs.c | 2 +-
src/backend/catalog/heap.c | 11 ++++++-----
src/backend/commands/prepare.c | 2 +-
src/backend/executor/nodeIndexonlyscan.c | 4 ++--
src/backend/executor/nodeMemoize.c | 8 ++++----
src/backend/optimizer/util/plancat.c | 2 +-
6 files changed, 15 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2024-07-02 03:52:34 pgsql: Update release notes to reflect recent commit 0f934b0739.
Previous Message Michael Paquier 2024-07-02 01:02:50 pgsql: Cleanup perl code from unused variables and routines