]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in AutoVacLauncherMain().
authorMasahiko Sawada <msawada@postgresql.org>
Fri, 1 Aug 2025 18:02:41 +0000 (18:02 +0000)
committerMasahiko Sawada <msawada@postgresql.org>
Fri, 1 Aug 2025 18:02:41 +0000 (18:02 +0000)
Author: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/20250802002027.cd35c481f6c6bae7ca2a3e26@sraoss.co.jp

src/backend/postmaster/autovacuum.c

index 9474095f271a1d070765b8b950cdd080b7b78a55..8908603464c5c84455aaf12d399bcdf29880b2e6 100644 (file)
@@ -562,10 +562,10 @@ AutoVacLauncherMain(const void *startup_data, size_t startup_data_len)
 
        /*
         * Create the initial database list.  The invariant we want this list to
-        * keep is that it's ordered by decreasing next_time.  As soon as an entry
-        * is updated to a higher time, it will be moved to the front (which is
-        * correct because the only operation is to add autovacuum_naptime to the
-        * entry, and time always increases).
+        * keep is that it's ordered by decreasing next_worker.  As soon as an
+        * entry is updated to a higher time, it will be moved to the front (which
+        * is correct because the only operation is to add autovacuum_naptime to
+        * the entry, and time always increases).
         */
        rebuild_database_list(InvalidOid);