Re: Streaming replication status

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Streaming replication status
Дата
Msg-id 2716.1263304741@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Streaming replication status  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Streaming replication status  (Andrew Dunstan <andrew@dunslane.net>)
Re: Streaming replication status  (Marko Kreen <markokr@gmail.com>)
Re: Streaming replication status  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
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.)
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Typed tables
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Typed tables