aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorÁlvaro Herrera <alvherre@alvh.no-ip.org>2025-03-21 10:55:06 +0100
committerÁlvaro Herrera <alvherre@alvh.no-ip.org>2025-03-21 10:55:06 +0100
commit1d617a20284f887cb9cdfe5693eec155e8016517 (patch)
tree08fd172488013d02355a7385c5882397060bcb1d /src/backend/access/gist/gistvacuum.c
parentce1a75c4feada55e7435edc5aac4b85afec734e6 (diff)
downloadpostgresql-1d617a20284f887cb9cdfe5693eec155e8016517.tar.gz
postgresql-1d617a20284f887cb9cdfe5693eec155e8016517.zip
Change one loop in ATRewriteTable to use 1-based attnums
All TupleDescAttr() calls in tablecmds.c that aren't in loops across all attributes use AttrNumber-style indexes (1-based); there was only one place in ATRewriteTable that was stashing 0-based indexes in a list for later processing. Switch that to use attnums for consistency. Author: jian he <jian.universality@gmail.com> Discussion: https://postgr.es/m/CACJufxEoYA5ScUr2=CmA1xcpaS_1ixneDbEkVU77X1ctGxY2mA@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions