Re: [HACKERS] pq_sendoob/pq_recvoob

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] pq_sendoob/pq_recvoob
Дата
Msg-id 6134.893610195@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] pq_sendoob/pq_recvoob  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size