Record Lock details

Поиск
Список
Период
Сортировка
От Denis P Gohel
Тема Record Lock details
Дата
Msg-id 001201c4290f$1ecb3a60$3332a8c0@DENIS
обсуждение исходный текст
Ответы Re: Record Lock details  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
Hi all,

I am using PostgreSQL 7.3.1.

Is there a data dictionary in Postgres from where i can get the info about
locked rows of any table ? If possible the value of those locked record ?

My situation is like:

I have an ODBC application working on Postgres. There are Master child
tables. I want, if a user A is editing any document ( one master and set of
child records) in front-end application, the same should not be available to
other user for editing.

I thought of using SELECT FOR UPDATE. But, in my case, i need to display the
name of application user and other details about the locked row.

From which data dictionary, i should query.

Any help would be appreciated.


Thanx

Denis






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

Предыдущее
От: Alexei Chetroi
Дата:
Сообщение: converting unix seconds to timestamp
Следующее
От: Janning Vygen
Дата:
Сообщение: Re: Is there an easy way to normalize-space with given string functions