|
|
@ -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 |
|
|
|
* 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 |
|
|
|
* keep is that it's ordered by decreasing next_worker. As soon as an |
|
|
|
* is updated to a higher time, it will be moved to the front (which is |
|
|
|
* entry is updated to a higher time, it will be moved to the front (which |
|
|
|
* correct because the only operation is to add autovacuum_naptime to the |
|
|
|
* is correct because the only operation is to add autovacuum_naptime to |
|
|
|
* entry, and time always increases). |
|
|
|
* the entry, and time always increases). |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
rebuild_database_list(InvalidOid); |
|
|
|
rebuild_database_list(InvalidOid); |
|
|
|
|
|
|
|
|
|
|
|