Re: Predicate locking

Поиск
Список
Период
Сортировка
От Nicolas Barbier
Тема Re: Predicate locking
Дата
Msg-id BANLkTi=xd9H00DHvHfZZmvbrdXze=fqHnw@mail.gmail.com
обсуждение исходный текст
Ответ на Predicate locking  (Vlad Arkhipov <arhipov@dc.baikal.ru>)
Ответы Re: Predicate locking  (Vlad Arkhipov <arhipov@dc.baikal.ru>)
Список pgsql-hackers
2011/4/27 Vlad Arkhipov <arhipov@dc.baikal.ru>:

> I'm currently need predicate locking in the project, so there are two ways
> to get it by now: implement it by creating special database records to lock
> with SELECT FOR UPDATE or wait while they will be implemented in Postgres
> core. Is there something like predicate locking on the TODO list currently?

I assume you want ("real", as opposed to what is in < 9.1 now)
SERIALIZABLE transactions, in which case you could check:

<URL:http://wiki.postgresql.org/wiki/Serializable>

Nicolas


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

Предыдущее
От: Vlad Arkhipov
Дата:
Сообщение: Predicate locking
Следующее
От: Vlad Arkhipov
Дата:
Сообщение: Re: Predicate locking