]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix more outdated comments
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 6 Feb 2023 21:58:44 +0000 (22:58 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 6 Feb 2023 21:58:44 +0000 (22:58 +0100)
Same as in f5da3d8 but for write_relcache_init_file(), the comments
had gotten a bit wrong due to code added over time.

src/backend/utils/cache/relcache.c

index b57a20c86e011a8edac8a4961cbd0ca7d4bab2a2..13f79873733558d262f5cdb67a40144f6eae24b7 100644 (file)
@@ -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];