explicit-locking.html "key values" reference

Поиск
Список
Период
Сортировка
От jian he
Тема explicit-locking.html "key values" reference
Дата
Msg-id CACJufxHjxR5F5rbZJw1ubE+ykt65mqvVZFPoCfzAKMN06YN-gQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: explicit-locking.html "key values" reference
Список pgsql-general


hi.
FOR KEY SHARE
Behaves similarly to FOR SHARE, except that the lock is weaker: SELECT FOR UPDATE is blocked, but not SELECT FOR NO KEY UPDATE. A key-shared lock blocks other transactions from performing DELETE or any UPDATE that changes the key values, but not other UPDATE, and neither does it prevent SELECT FOR NO KEY UPDATESELECT FOR SHARE, or SELECT FOR KEY SHARE.

A key-shared lock blocks other transactions from performing DELETE or any UPDATE that changes the key values

querya: select col1,col2,col3 from a for key share of a
Does "the key values" refer to these rows returned by the querya?
I still feel confused about "the key values". 

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

Предыдущее
От: Atul Kumar
Дата:
Сообщение: Query to find RDS endpoint
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: explicit-locking.html "key values" reference