aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-02-06 22:58:44 +0100
committerPeter Eisentraut <peter@eisentraut.org>2023-02-06 22:58:44 +0100
commit6c14fb17e4be70e0f3c03d2f9f6c540b6d5bdcbe (patch)
tree782322b1ce34150534a18c876fc79576e6db3143 /src/backend/utils
parentf5da3d85b95640ac754ee14c47aeb90003e6d7c0 (diff)
downloadpostgresql-6c14fb17e4be70e0f3c03d2f9f6c540b6d5bdcbe.tar.gz
postgresql-6c14fb17e4be70e0f3c03d2f9f6c540b6d5bdcbe.zip
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.
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/cache/relcache.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c
index b57a20c86e0..13f79873733 100644
--- a/src/backend/utils/cache/relcache.c
+++ b/src/backend/utils/cache/relcache.c
@@ -6530,34 +6530,34 @@ write_relcache_init_file(bool shared)
HEAPTUPLESIZE + rel->rd_indextuple->t_len,
fp);
- /* next, write the vector of opfamily OIDs */
+ /* write the vector of opfamily OIDs */
write_item(rel->rd_opfamily,
relform->relnatts * sizeof(Oid),
fp);
- /* next, write the vector of opcintype OIDs */
+ /* write the vector of opcintype OIDs */
write_item(rel->rd_opcintype,
relform->relnatts * sizeof(Oid),
fp);
- /* next, write the vector of support procedure OIDs */
+ /* write the vector of support procedure OIDs */
write_item(rel->rd_support,
relform->relnatts * (rel->rd_indam->amsupport * sizeof(RegProcedure)),
fp);
- /* next, write the vector of collation OIDs */
+ /* write the vector of collation OIDs */
write_item(rel->rd_indcollation,
relform->relnatts * sizeof(Oid),
fp);
- /* finally, write the vector of indoption values */
+ /* write the vector of indoption values */
write_item(rel->rd_indoption,
relform->relnatts * sizeof(int16),
fp);
Assert(rel->rd_opcoptions);
- /* finally, write the vector of opcoptions values */
+ /* write the vector of opcoptions values */
for (i = 0; i < relform->relnatts; i++)
{
bytea *opt = rel->rd_opcoptions[i];