Re: Fwd: Infinite recursion in function causes DoS

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martin Pitt <martin(at)piware(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Fwd: Infinite recursion in function causes DoS
Date: 2004-03-25 21:51:30
Message-ID: 200403252151.i2PLpVf17307@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-03-25 22:32:59 Re: Fwd: Infinite recursion in function causes DoS
Previous Message Martin Pitt 2004-03-25 15:08:49 Fwd: Default pg_autovacuum config glitches