Re: [HACKERS] Proposal for async support in libpq

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [HACKERS] Proposal for async support in libpq
Дата
Msg-id Pine.LNX.3.95.980419223421.23997D-100000@retep.org.uk
обсуждение исходный текст
Ответ на Re: [HACKERS] Proposal for async support in libpq  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Proposal for async support in libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Just a thought. Tom is after some scheme to receive notification messages,
out side the normal network stream, then why not add a second network
connection for this.

We could have in libpq, some new calls, to open, handle requests, and to
close the connection. It's then up to the client to handle these, so
existing clients will not be broken.

This would be a doddle to do in Java, and shouldn't be too difficult for
libpq, and libpgtcl (call backs are almost as simple to do in tcl as they
are in Java).

Just a couple of thoughts...

--
Peter T Mount  peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.demon.co.uk/finder (moving soon to www.retep.org.uk)
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Proposal for async support in libpq
Следующее
От: Michael Richards
Дата:
Сообщение: Re: [HACKERS] Leaks?