pgwin32_backend_usleep seems overly cute/confusing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgwin32_backend_usleep seems overly cute/confusing
Дата
Msg-id 25201.1153015026@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
Instead of this rigmarole with pg_usleep() being a macro to
pgwin32_backend_usleep, why don't we just call the function in
backend/port/win32/signal.c pg_usleep(), and put something like
#if defined(FRONTEND) || !defined(WIN32)

around the version in src/port/pgsleep.c?  We don't really want
that version present in the backend at all on Windows, ISTM.
        regards, tom lane


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Online index builds
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Forcing wal rotation