Re: [HACKERS] Proposal for async support in libpq

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: M(dot)Boekhold(at)et(dot)tudelft(dot)nl
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Proposal for async support in libpq
Date: 1998-04-19 01:16:59
Message-ID: 199804190116.VAA07631@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> > In backend/libpq/pqcomm.c, I see pg_sendoob() which sends out-of-band
> > data FROM the backend TO the client, but it is not called from anywhere.
> >
> > This could be a method of signaling that a notification was pending, and
> > sending out-of-band data FROm the client TO the backend could be used
> > for cancelling a query.
> >
> > out-of-band data causes a convenient signal to the process on the other
> > end, which can easily be used to handle these cases.
>
> Wasn't the problem with OOB data that java doesn't support this? I
> remember that OOB data has come up before on this list a long time ago,
> and that at that time some java bloke (peter?) started to complain :)

I sure don't remember this topic, or anyone complaining about OOB.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-04-19 01:44:02 Re: [HACKERS] Proposal for async support in libpq
Previous Message Mattias Kregert 1998-04-19 00:46:18 Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c