pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use TupleDescAttr macro consistently
Date: Tue, 02 Jul 2024 01:42:04 +0000
Message-ID: <E1sOSWy-003rbc-1N@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1sOSWy-003rbc-1N@gemulon.postgresql.org>
Permalink:  ../E1sOSWy-003rbc-1N@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sOSWy-003rbc-1N@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use TupleDescAttr macro consistently
  In-Reply-To: <E1sOSWy-003rbc-1N@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox