pgsql: Refactor DetermineSleepTime() to use milliseconds.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Refactor DetermineSleepTime() to use milliseconds.
Дата
Msg-id E1pFoVu-003E31-AH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Refactor DetermineSleepTime() to use milliseconds.

Since we're not using select() anymore, we don't need to bother with
struct timeval.  We can work directly in milliseconds, which the latch
API wants.

Discussion: https://postgr.es/m/CA%2BhUKG%2BZ-HpOj1JsO9eWUP%2Bar7npSVinsC_npxSy%2BjdOMsx%3DGg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5a26c7b310b629f8893483cc3cce5bbfa7879115

Modified Files
--------------
src/backend/postmaster/postmaster.c | 57 ++++++++++++-------------------------
1 file changed, 18 insertions(+), 39 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: fix silly thinko in 8bf6ec3ba.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Revert "Get rid of the "new" and "old" entries in a view's range