Re: Cancel/Kill backend functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cancel/Kill backend functions
Дата
Msg-id 14714.1085722201@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Cancel/Kill backend functions  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-patches
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> With this comment, I take it you'd disagree with my recoding of
> TransactionIdIsCurrentTransactionId().

> The current code has to scan only the xid's in each PGPROC struct.
> However I had to rewrite it to peek at pg_subtrans, and this is done
> while the SInvalLock is share-locked.  pg_subtrans may need to do some
> I/O to get the data, and there could be multiple queries, depending on
> the nesting level.

You're right, I think that's really awful :-(

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Cancel/Kill backend functions
Следующее
От: Sean Chittenden
Дата:
Сообщение: Small doc patch for area() function...