Re: Re: bulk_multi_insert infinite loops with large rows and small fill factors
В списке pgsql-hackers по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: Re: bulk_multi_insert infinite loops with large rows and small fill factors |
| Дата | |
| Msg-id | 50C8784A.5080909@vmware.com обсуждение исходный текст |
| Ответ на | Re: Re: bulk_multi_insert infinite loops with large rows and small fill factors (David Gould <daveg@sonic.net>) |
| Список | pgsql-hackers |
On 12.12.2012 14:24, David Gould wrote: > I don't know if this is the same thing. At least in the comments I was > reading trying to figure this out there was some concern that someone > else could change the space on the page. Does RelationGetBufferForTuple() > guarantee against this too? Yeah, RelationGetBufferForTuple grabs a lock on the page before returning it. For comparison, plain heap_insert does simply this: > buffer = RelationGetBufferForTuple(relation, heaptup->t_len, > InvalidBuffer, options, bistate, > &vmbuffer, NULL); > > /* NO EREPORT(ERROR) from here till changes are logged */ > START_CRIT_SECTION(); > > RelationPutHeapTuple(relation, buffer, heaptup); - Heikki
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера