Re: Plans for 8.2?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Plans for 8.2?
Date: 2006-01-13 00:46:18
Message-ID: 19846.1137113178@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message xiapw 2006-01-13 02:23:02 extend sql?
Previous Message Qingqing Zhou 2006-01-13 00:01:27 Re: Plans for 8.2?