| От | Rod Taylor |
|---|---|
| Тема | Re: Can pessimistic locking be emulated? |
| Дата | |
| Msg-id | 1046376469.91396.84.camel@jester обсуждение исходный текст |
| Ответ на | Re: Can pessimistic locking be emulated? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Thu, 2003-02-27 at 15:02, Tom Lane wrote: > Rod Taylor <rbt@rbt.ca> writes: > > Agreed -- but they're stored on the row themselves. You might be able > > to write a function which executes dirty reads on the table and tells > > you if the row is locked or not, but it's not going to be simple. > > Actually, I don't think you need a dirty read at all. A locked row I see. That will make it quite a bit easier then. Perhaps I'll write a function sometime. It would make it useful for fetching things out of a persistent work queue. Right now I deal with userlocks -- but those can be clumsy. -- Rod Taylor <rbt@rbt.ca> PGP Key: http://www.rbt.ca/rbtpub.asc
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера