Re: Plans for 8.2?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Plans for 8.2?
Дата
Msg-id 19846.1137113178@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Plans for 8.2?  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: Plans for 8.2?  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список pgsql-general
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> Maybe related question: is the code below in XactLockTableWait() related to
> SIGQUIT?

No.

>  /*
>   * Transaction was committed/aborted/crashed - we have to update pg_clog
>   * if transaction is still marked as running.
>   */
>  if (!TransactionIdDidCommit(xid) && !TransactionIdDidAbort(xid))
>   TransactionIdAbort(xid);

The comment's "have to" is an overstatement.  The transaction would be
treated as crashed anyway, it's just that this is a convenient place to
make pg_clog a bit cleaner.  I'm not real sure why we bother, actually.

            regards, tom lane

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

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Plans for 8.2?
Следующее
От: "xiapw"
Дата:
Сообщение: extend sql?