Re: Arbitary file size limit in twophase.c

Поиск
Список
Период
Сортировка
От 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  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: deadlock while doing VACUUM and DROP
Следующее
От: Tom Lane
Дата:
Сообщение: Re: deadlock while doing VACUUM and DROP