pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ocie@paracel.com
To: tgl@sss.pgh.pa.us
Cc: pgsql-hackers@postgreSQL.org
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Date: Tue, 28 Apr 1998 11:03:09 -0700 (PDT)
Message-ID: <9804281803.AA00362@dolomite.paracel.com> (raw)
In-Reply-To: <7040.893780515@sss.pgh.pa.us>

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



view thread (25+ messages)  latest in thread

Message-ID: <9804281803.AA00362@dolomite.paracel.com>
Permalink:  ../9804281803.AA00362@dolomite.paracel.com/
Also on:    postgresql.org/message-id/9804281803.AA00362@dolomite.paracel.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ocie@paracel.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgreSQL.org
  Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
  In-Reply-To: <9804281803.AA00362@dolomite.paracel.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox