Re: Shared row locking

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Shared row locking
Дата
Msg-id 41C23FD6.2030405@familyhealth.com.au
обсуждение исходный текст
Ответ на Shared row locking  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
> The SQL spec does not say anything on this respect (that I can find).
> It only talks of "FOR UPDATE" and "FOR READ ONLY".  However, because the
> FK code uses SPI to do the locking, we definitely have to expose the
> funcionality through SQL.  So I think we need a new clause, which I
> propose to be "FOR SHARE".

MySQL uses LOCK IN SHARE MODE:

http://dev.mysql.com/doc/mysql/en/InnoDB_locking_reads.html


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Shared row locking
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] PL/Python: How do I use result methods?