| От | Bruce Momjian |
|---|---|
| Тема | Re: timeout on lock feature |
| Дата | |
| Msg-id | 200104131828.OAA21993@candle.pha.pa.us обсуждение |
| Ответ на | Re: timeout on lock feature (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> The appropriate way to do this given a LOCK TABLE option would be like > > BEGIN; > LOCK TABLE foo IN ROW EXCLUSIVE MODE WITH TIMEOUT n; > UPDATE foo SET ...; > COMMIT; > > which restricts the scope of the timeout behavior to just the specific > lock that the user is thinking of, and doesn't risk breaking fundamental > system operations. This is pretty tough because the user has to know the proper lock type, right? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера