Skip to content

Commit a2c6c4e

Browse files
Fix typo in AutoVacLauncherMain().
Author: Yugo Nagata <nagata@sraoss.co.jp> Discussion: https://postgr.es/m/20250802002027.cd35c481f6c6bae7ca2a3e26@sraoss.co.jp
1 parent 0ed92cf commit a2c6c4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,10 +562,10 @@ AutoVacLauncherMain(const void *startup_data, size_t startup_data_len)
562562

563563
/*
564564
* Create the initial database list. The invariant we want this list to
565-
* keep is that it's ordered by decreasing next_time. As soon as an entry
566-
* is updated to a higher time, it will be moved to the front (which is
567-
* correct because the only operation is to add autovacuum_naptime to the
568-
* entry, and time always increases).
565+
* keep is that it's ordered by decreasing next_worker. As soon as an
566+
* entry is updated to a higher time, it will be moved to the front (which
567+
* is correct because the only operation is to add autovacuum_naptime to
568+
* the entry, and time always increases).
569569
*/
570570
rebuild_database_list(InvalidOid);
571571

0 commit comments

Comments
 (0)