Timeout for lock table

Поиск
Список
Период
Сортировка
От Jonathan Man
Тема Timeout for lock table
Дата
Msg-id 000801c34048$748fccf0$8401a8c0@equity.com
обсуждение исходный текст
Список pgsql-sql
Dear All,
 
I begin a transaction. I then execute a SQL command "SELECT FOR UPDATE" to lock some records on the first session. Besides, I also lock some rows using the same method on the second session. Is it possible to return an error message to indicate that some records were locked by another user when I lock it on the second session?
 
Please help me, THX!!
 
 
JMAN
 

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

Предыдущее
От: "Don Soledad"
Дата:
Сообщение: columnar format
Следующее
От: Ang Chin Han
Дата:
Сообщение: Re: LEAST and GREATEST functions?