Search Postgresql Archives

Re: Plans for 8.2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Qingqing Zhou" <zhouqq@xxxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux