| От | Noah Misch |
|---|---|
| Тема | Re: infinite loop in _bt_getstackbuf |
| Дата | |
| Msg-id | 20141101003038.GA433704@tornado.leadboat.com обсуждение |
| Ответ на | Re: infinite loop in _bt_getstackbuf (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-hackers |
On Fri, Oct 31, 2014 at 10:29:53AM -0400, Robert Haas wrote: > On Thu, Oct 30, 2014 at 11:45 PM, Noah Misch <noah@leadboat.com> wrote: > >> Given the lack of prior complaints about this > >> loop, I'm not sure I see the need to work harder than that; corruption > >> of this sort must be quite rare. > > > > Looks like _bt_getstackbuf() is always called with some buffer lock held, so > > CHECK_FOR_INTERRUPTS() alone would not help: > > > > http://www.postgresql.org/message-id/flat/16519.1401395152@sss.pgh.pa.us > > That's the insert path. What about the vacuum path? I am not aware of an occasion where the vacuum path will call _bt_getstackbuf() without already holding some buffer lock.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера