Re: pgbench duration option

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgbench duration option
Дата
Msg-id 20080819023932.GF4454@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pgbench duration option  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
ITAGAKI Takahiro wrote:

> The only thing I worried about is portability issue. POSIX functions
> like alarm() or setitimer() are not available at least on Windows.
> I expect alarm() is available on all platforms except Win32 and
> used CreateTimerQueue() instead on Win32 in the new patch.
> (We have own implementation of setitimer() in the server core, but pgbench
>  cannot use the function because it is a client application.)

It wouldn't be unheard of to allow using timer.c into client domain
(cf. src/port/)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: pgbench duration option
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Improving non-joinable EXISTS subqueries