Re: trying again to get incremental backup
От | Alexander Lakhin |
---|---|
Тема | Re: trying again to get incremental backup |
Дата | |
Msg-id | 8b686764-7ac1-74c3-70f9-b64685a2535f@gmail.com обсуждение исходный текст |
Ответ на | Re: trying again to get incremental backup (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: trying again to get incremental backup
Re: trying again to get incremental backup |
Список | pgsql-hackers |
21.12.2023 23:43, Robert Haas wrote: >> There are also two deadcode.DeadStores complaints from clang. First one is >> about: >> /* >> * Align the wait time to prevent drift. This doesn't really matter, >> * but we'd like the warnings about how long we've been waiting to say >> * 10 seconds, 20 seconds, 30 seconds, 40 seconds ... without ever >> * drifting to something that is not a multiple of ten. >> */ >> timeout_in_ms -= >> TimestampDifferenceMilliseconds(current_time, initial_time) % >> timeout_in_ms; >> It looks like this timeout is really not used. > Oops. It should be. See attached. My quick experiment shows that that TimestampDifferenceMilliseconds call always returns zero, due to it's arguments swapped. The other changes look good to me. Thank you! Best regards, Alexander
В списке pgsql-hackers по дате отправления: