Received: from shinumo.paracel.com ([192.187.140.129]) by hub.org (8.8.8/8.7.5) with SMTP id OAA16620; Tue, 28 Apr 1998 14:03:43 -0400 (EDT) From: ocie@paracel.com Received: from paracel.com ([192.168.9.14]) by shinumo.paracel.com (4.1/SMI-4.1-ps) id AA04315; Tue, 28 Apr 98 11:02:24 PDT Received: from dolomite.paracel.com by paracel.com (4.1/SMI-4.1-pu) id AA28752; Tue, 28 Apr 98 11:02:25 PDT Received: by dolomite.paracel.com (5.x/SMI-SVR4) id AA00362; Tue, 28 Apr 1998 11:03:10 -0700 Message-Id: <9804281803.AA00362@dolomite.paracel.com> Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes To: tgl@sss.pgh.pa.us (Tom Lane) Date: Tue, 28 Apr 1998 11:03:09 -0700 (PDT) Cc: pgsql-hackers@postgreSQL.org, pgsql-interfaces@postgreSQL.org In-Reply-To: <7040.893780515@sss.pgh.pa.us> from "Tom Lane" at Apr 28, 98 12:21:55 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text 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