Use TupleDescAttr macro consistently
David Rowley <drowley@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pageinspect/gistfuncs.c | modified | +1 −1 |
| src/backend/catalog/heap.c | modified | +6 −5 |
| src/backend/commands/prepare.c | modified | +1 −1 |
| src/backend/executor/nodeIndexonlyscan.c | modified | +2 −2 |
| src/backend/executor/nodeMemoize.c | modified | +4 −4 |
| src/backend/optimizer/util/plancat.c | modified | +1 −1 |
Discussion
- Make tuple deformation faster 41 messages · 2024-07-01 → 2025-06-16