- Notifications
You must be signed in to change notification settings - Fork5k
Commit1d617a2
committed
Change one loop in ATRewriteTable to use 1-based attnums
All TupleDescAttr() calls in tablecmds.c that aren't in loops across allattributes use AttrNumber-style indexes (1-based); there was only oneplace in ATRewriteTable that was stashing 0-based indexes in a list forlater 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.com1 parentce1a75c commit1d617a2
1 file changed
+5
-7
lines changedLines changed: 5 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6189 | 6189 |
| |
6190 | 6190 |
| |
6191 | 6191 |
| |
6192 |
| - | |
| 6192 | + | |
6193 | 6193 |
| |
6194 | 6194 |
| |
6195 | 6195 |
| |
| |||
6370 | 6370 |
| |
6371 | 6371 |
| |
6372 | 6372 |
| |
6373 |
| - | |
| 6373 | + | |
6374 | 6374 |
| |
6375 |
| - | |
6376 |
| - | |
6377 |
| - | |
| 6375 | + | |
6378 | 6376 |
| |
6379 |
| - | |
| 6377 | + | |
6380 | 6378 |
| |
6381 | 6379 |
| |
6382 | 6380 |
| |
6383 | 6381 |
| |
6384 | 6382 |
| |
6385 | 6383 |
| |
6386 |
| - | |
| 6384 | + | |
6387 | 6385 |
| |
6388 | 6386 |
| |
6389 | 6387 |
| |
|
0 commit comments
Comments
(0)