Re: pgsql: Fix (some of the) breakage introduced into query-cancel

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Fix (some of the) breakage introduced into query-cancel
Дата
Msg-id 16554.1262896140@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Fix (some of the) breakage introduced into query-cancel  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: pgsql: Fix (some of the) breakage introduced into query-cancel  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-committers
Simon Riggs <simon@2ndquadrant.com> writes:
> On Thu, 2010-01-07 at 16:29 +0000, Tom Lane wrote:
>> Fix (some of the) breakage introduced into query-cancel processing by HS.

>> It is absolutely not okay to throw an ereport(ERROR) in any random place in
>> the code just because DoingCommandRead is set; interrupting, say, OpenSSL
>> in the midst of its activities is guaranteed to result in heartache.

> ...That was not introduced by HS.

Yes it was; or at least it was in your HS commit:

http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.578;r2=1.579

            regards, tom lane

В списке pgsql-committers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Fix (some of the) breakage introduced into query-cancel
Следующее
От: rhaas@postgresql.org (Robert Haas)
Дата:
Сообщение: pgsql: Document why we copy reloptions into CacheMemoryContext