Re: [INTERFACES] PQnotifies & select

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [INTERFACES] PQnotifies & select
Дата
Msg-id 27140.938133314@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PQnotifies & select  ("Ken J. Wright" <ken@ori-ind.com>)
Список pgsql-interfaces
"Ken J. Wright" <ken@ori-ind.com> writes:
> What handle(s) would I need to feed to select() to wait for a notification
> which I can then pickup via PQnotifies()?

PQsocket(connobject) delivers the file descriptor, or -1 if there is no
open connection.  There is some doco about this in the current
documentation set, although I have to agree it's terse.
        regards, tom lane


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

Предыдущее
От: eem21@cam.ac.uk
Дата:
Сообщение: Re: [INTERFACES] PQnotifies & select
Следующее
От: "Ken J. Wright"
Дата:
Сообщение: Re: [INTERFACES] PQnotifies & select