Re: Fwd: Infinite recursion in function causes DoS - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: Fwd: Infinite recursion in function causes DoS
Date
Msg-id 200403252151.i2PLpVf17307@candle.pha.pa.us
Whole thread Raw
In response to Fwd: Infinite recursion in function causes DoS  (Martin Pitt <martin@piware.de>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fwd: Infinite recursion in function causes DoS
Next
From: Tom Lane
Date:
Subject: Re: Problem with Serializable transactions