| От | Tom Lane |
|---|---|
| Тема | Re: Arbitary file size limit in twophase.c |
| Дата | |
| Msg-id | 16728.1210947988@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Arbitary file size limit in twophase.c ("Heikki Linnakangas" <heikki@enterprisedb.com>) |
| Ответы |
Re: Arbitary file size limit in twophase.c
|
| Список | pgsql-hackers |
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> Tom Lane wrote:
>> It might be worth checking at prepare that the file size doesn't exceed
>> MaxAllocSize, but any smaller limit strikes me as (a) unnecessarily
>> restrictive and (b) not actually creating any useful guarantee.
> Patch attached. I can't commit it myself right now, but will do so as
> soon as I can, unless there's objections.
Two bugs: "exceeed" -> "exceeded", please; and on the read side, you
should still have an upper-bound check, but it should be MaxAllocSize.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера