Skip site navigation (1) Skip section navigation (2)

Re: lock timeout patch

From: Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: lock timeout patch
Date: 2004-06-28 04:06:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I guess the transaction cancellation from the client
using PQrequestCancel() is available, but the cancellation
logic must be implemented in the client-application using
signal or thread.

I think detecting such situation on server-side is not
available now, and SQL Server or DB2 have same function.

Tom Lane wrote:
> Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp> writes:
>>When a transaction is blocked by another transaction because of
>>waiting a lock, we need a lock timeout in some cases.
> Isn't there an existing solution for this problem?
> 			regards, tom lane

NAGAYASU Satoshi <nagayasus(at)nttdata(dot)co(dot)jp>

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2004-06-28 04:18:44
Subject: Re: lock timeout patch
Previous:From: Tom LaneDate: 2004-06-28 03:53:48
Subject: Re: lock timeout patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group