Re: Streaming replication status

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Streaming replication status
Дата
Msg-id 4B4C838A.60501@dunslane.net
обсуждение исходный текст
Ответ на Re: Streaming replication status  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Streaming replication status  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers

Tom Lane wrote:
> Fujii Masao <masao.fujii@gmail.com> writes:
>   
>> I'm not sure whether poll(2) should be called for this purpose. But
>> poll(2) and select(2) seem to often come together in the existing code.
>> We should follow such custom?
>>     
>
> Yes.  poll() is usually more efficient, so it's preferred, but not all
> platforms have it.  (On the other side, I think Windows might have
> only poll and not select.)
>
>             
>   

No, other way around, I'm fairly sure.

cheers

andrew


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Typed tables
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Streaming replication status