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
Re: Streaming replication status Re: Streaming replication status |
| Список | 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 по дате отправления: