Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes

From: dg(at)illustra(dot)com (David Gould)
To: ocie(at)paracel(dot)com
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Date: 1998-04-29 05:32:33
Message-ID: 9804290532.AA19418@hawk.illustra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

>
> Tom Lane wrote:
> >
> > Here is a revised proposal that takes into account the discussions
> > of the last few days. Any comments?
>
> Just one at the end
>
> [snip]
>
> > 4. The frontend may request cancellation of the current query by sending
> > a single byte of OOB (out-of-band) data. The contents of the data byte
> > are irrelevant, since the cancellation will be triggered by the associated
> > signal and not by the data itself. (But we should probably specify that
> > the byte be zero, in case we later think of a reason to have different
> > kinds of OOB messages.) There is no specific reply to this message.
> > If the backend does cancel a query, the query terminates with an ordinary
> > error message indicating that the query was cancelled.
>
> You didn't come right out and say it, but are you intending to support
> multiple queries within a connection? I gather not. Not that I'm
> suggesting that this be done, as it seems this would complicate the
> user's application and the backend. With only one possible OOB
> message, you can't tell it which query to cancel.
>
> Ocie Mitchell

Waves hand wildly... I know, I know!

All of them!

-dg

David Gould dg(at)illustra(dot)com 510.628.3783 or 510.305.9468
Informix Software (No, really) 300 Lakeside Drive Oakland, CA 94612
"(Windows NT) version 5.0 will build on a proven system architecture
and incorporate tens of thousands of bug fixes from version 4.0."
-- <http://www.microsoft.com/y2k.asp?A=7&B=5>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Gould 1998-04-29 05:40:23 CVSup help??
Previous Message John Goerzen 1998-04-29 05:13:52 Re: Bug#21681: postgresql: Doesn't allow granting to www-data

Browse pgsql-interfaces by date

  From Date Subject
Next Message Markus Harms 1998-04-29 06:38:50 Re: [INTERFACES] Borland BDE / blank table names
Previous Message Byron Nikolaidis 1998-04-28 21:32:43 Re: [INTERFACES] Access'97 and ODBC