Re: [HACKERS] Proposal for async support in libpq - Mailing list pgsql-hackers

From Peter T Mount
Subject Re: [HACKERS] Proposal for async support in libpq
Date
Msg-id Pine.LNX.3.95.980419223421.23997D-100000@retep.org.uk
Whole thread Raw
In response to Re: [HACKERS] Proposal for async support in libpq  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] Proposal for async support in libpq
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Proposal for async support in libpq
Next
From: Michael Richards
Date:
Subject: Re: [HACKERS] Leaks?