1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-18 04:29:09 +03:00

Fix typo in AutoVacLauncherMain().

Author: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/20250802002027.cd35c481f6c6bae7ca2a3e26@sraoss.co.jp
This commit is contained in:
Masahiko Sawada
2025-08-01 18:02:41 +00:00
parent 0ed92cf50c
commit a2c6c4ed31

View 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);