Re: another autovacuum scheduling thread

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: another autovacuum scheduling thread
Дата
Msg-id aQI39ln_jZ8qorLE@nathan
обсуждение исходный текст
Ответ на Re: another autovacuum scheduling thread  (Sami Imseih <samimseih@gmail.com>)
Ответы Re: another autovacuum scheduling thread
Список pgsql-hackers
On Tue, Oct 28, 2025 at 05:44:37PM -0500, Sami Imseih wrote:
> My compiler is complaining about v6
> 
> "../src/backend/postmaster/autovacuum.c:3293:32: warning: operation on
> ‘*score’ may be undefined [-Wsequence-point]
>  3293 |                         *score = *score = Max(*score, (double)
> instuples / Max(vacinsthresh, 1));
> [2/2] Linking target src/backend/postgres"
> 
> shouldn't just be like below?
> 
> *score =Max(*score, (double) instuples / Max(vacinsthresh, 1));

Oops.  I fixed that typo in v7.

-- 
nathan

Вложения

В списке pgsql-hackers по дате отправления: