Re: BUG #1633: about transactions and row level locking

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: BUG #1633: about transactions and row level locking
Дата
Msg-id 20050428013228.GA19750@wolff.to
обсуждение исходный текст
Ответ на BUG #1633: about transactions and row level locking  ("deepak" <deepak@jtech.co.in>)
Список pgsql-bugs
On Wed, Apr 27, 2005 at 13:56:02 +0100,
  deepak <deepak@jtech.co.in> wrote:
>
> The following bug has been logged online:

This isn't a bug, its a question. I am moving the discussion over to
the general list.

> Bug reference:      1633
> Logged by:          deepak
> Email address:      deepak@jtech.co.in
> PostgreSQL version: 8.0.1
> Operating system:   MS windows 2000 Server
> Description:        about transactions and row level locking
> Details:
>
> How we can know a record is locked before updating the record. The purpose
> is to avoid deadlock or queuing of update statements while using "select *
> from table for update".

You might be able to use a short timeout on the statement that tries the
update.

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: BUG #1628: JDBC bug with regard to text column data type
Следующее
От: "Fredrik Olsson"
Дата:
Сообщение: BUG #1636: Foreign key referencing inherited table fails.