Re: [HACKERS] pq_sendoob/pq_recvoob - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] pq_sendoob/pq_recvoob
Date
Msg-id 6134.893610195@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] pq_sendoob/pq_recvoob  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us> writes:
>> Are these functions used at all?  A M-x tags-search didn't find them.
>> I'm not sure how they work over SSL (if at all).

> No, not used.  I think we thought they were passed unencrypted by SSL?

We are thinking of adding a "please cancel query in progress" function
to the FE/BE protocol, whereby the frontend could attempt to cancel a
previously issued query.  The cancel request would be sent from FE to BE
by an OOB message, so that the BE could detect it with a signal handler.
This would mean that cancellation would not work over an SSL link.
I'm willing to live with that, myself.

There are no cases where an OOB message is sent from BE to FE, and I
think we concluded that it would be too dangerous to try to do that.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size