Re: [Review] pgbench duration option

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [Review] pgbench duration option
Дата
Msg-id 48C8EEFB.1040901@enterprisedb.com
обсуждение исходный текст
Ответ на Re: [Review] pgbench duration option  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: [Review] pgbench duration option
Список pgsql-hackers
ITAGAKI Takahiro wrote:
> Here is a revised version of the pgbench duration patch.

Looking at the Win32 timer implementation, it's a bit different from the 
one we have in src/backend/port/win32/timer.c. The one in timer.c uses a 
separate thread and WaitForSingleObjectEx() to wait, while your 
implementation uses CreateTimerQueue() and CreateTimerQueueTimer(). 
Yours seems simpler, so I wonder why the timer.c is different?

It's not too bad as it is in the patch, but it would be nice to put the 
setitimer() implementation into src/port, and use the same code in the 
backend as well.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Transaction Snapshots and Hot Standby
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Postgresql coding conventions