Re: Fwd: Infinite recursion in function causes DoS

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Fwd: Infinite recursion in function causes DoS
Дата
Msg-id 200403252151.i2PLpVf17307@candle.pha.pa.us
обсуждение исходный текст
Ответ на Fwd: Infinite recursion in function causes DoS  (Martin Pitt <martin@piware.de>)
Список pgsql-bugs
Martin Pitt wrote:
> Hi PostgreSQL hackers!
>
> We recently received and discussed a Debian bug report agains
> postgresql. If you have time, please have a look at
>
>   http://bugs.debian.org/239811
>
> In short it was requested to limit the depth of (recursive) function
> calls to prevent database crashes. Would it be possible to do that in
> PostgreSQL? This depth should be configurable in

This will be fixed in 7.5 with a new max_stack_depth configuration
varible.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fwd: Infinite recursion in function causes DoS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with Serializable transactions