Skip to content

Commit 6c14fb1

Browse files
committed
Fix more outdated comments
Same as in f5da3d8 but for write_relcache_init_file(), the comments had gotten a bit wrong due to code added over time.
1 parent f5da3d8 commit 6c14fb1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/backend/utils/cache/relcache.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6530,34 +6530,34 @@ write_relcache_init_file(bool shared)
65306530
HEAPTUPLESIZE + rel->rd_indextuple->t_len,
65316531
fp);
65326532

6533-
/* next, write the vector of opfamily OIDs */
6533+
/* write the vector of opfamily OIDs */
65346534
write_item(rel->rd_opfamily,
65356535
relform->relnatts * sizeof(Oid),
65366536
fp);
65376537

6538-
/* next, write the vector of opcintype OIDs */
6538+
/* write the vector of opcintype OIDs */
65396539
write_item(rel->rd_opcintype,
65406540
relform->relnatts * sizeof(Oid),
65416541
fp);
65426542

6543-
/* next, write the vector of support procedure OIDs */
6543+
/* write the vector of support procedure OIDs */
65446544
write_item(rel->rd_support,
65456545
relform->relnatts * (rel->rd_indam->amsupport * sizeof(RegProcedure)),
65466546
fp);
65476547

6548-
/* next, write the vector of collation OIDs */
6548+
/* write the vector of collation OIDs */
65496549
write_item(rel->rd_indcollation,
65506550
relform->relnatts * sizeof(Oid),
65516551
fp);
65526552

6553-
/* finally, write the vector of indoption values */
6553+
/* write the vector of indoption values */
65546554
write_item(rel->rd_indoption,
65556555
relform->relnatts * sizeof(int16),
65566556
fp);
65576557

65586558
Assert(rel->rd_opcoptions);
65596559

6560-
/* finally, write the vector of opcoptions values */
6560+
/* write the vector of opcoptions values */
65616561
for (i = 0; i < relform->relnatts; i++)
65626562
{
65636563
bytea *opt = rel->rd_opcoptions[i];

0 commit comments

Comments
 (0)