locks and "select for update"

Поиск
Список
Период
Сортировка
От Wayne Cuddy
Тема locks and "select for update"
Дата
Msg-id 20120831170554.GA32084@slacker.ja10629.home
обсуждение исходный текст
Ответы Re: locks and "select for update"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
The documentation about concurrency states that all the different types
of locks are table locks even if the word row appears in the lock name.

The documentation about select statements states that when "for update
of" is used that only the selected rows will be locked. Is this true or
does this really mean that when any target row is found the entire table
is locked until the end of the transaction?

Thanks,
Wayne



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

Предыдущее
От: "Mubarik, Aiysha"
Дата:
Сообщение: Tablesample Function on Postgres 9.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: locks and "select for update"