Обсуждение: Re: [PERFORM] autovacuum daemon stops doing work after about an hour

Поиск
Список
Период
Сортировка

Re: [PERFORM] autovacuum daemon stops doing work after about an hour

От
Vivek Khera
Дата:
Actually, you can simplify the fix thusly:

  diff = (long long)(now.tv_sec - then.tv_sec) * 1000000 + (now.tv_usec - then.tv_usec);