| От | Tom Lane |
|---|---|
| Тема | Re: WAL format and API changes (9.5) |
| Дата | |
| Msg-id | 17742.1396567992@sss.pgh.pa.us обсуждение |
| Ответ на | Re: WAL format and API changes (9.5) (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: WAL format and API changes (9.5)
|
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-04-03 19:08:27 -0400, Tom Lane wrote:
>> A somewhat more relevant concern is where are we going to keep the state
>> data involved in all this. Since this code is, by definition, going to be
>> called in critical sections, any solution involving internal pallocs is
>> right out.
> We actually already allocate memory in XLogInsert() :(, although only in
> the first XLogInsert() a backend does...
Ouch. I wonder if we should put an Assert(not-in-critical-section)
into MemoryContextAlloc.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера