Re: Preventing stack-overflow crashes (improving on max_expr_depth)

From: Mike Mascari <mascarm(at)mascari(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Preventing stack-overflow crashes (improving on max_expr_depth)
Date: 2003-12-31 03:12:20
Message-ID: 3FF23E94.9030503@mascari.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:

>Sounds like a great approach to me. If it doesn't work, we will find
>out during beta testing.
>
>

Would it make sense to also have a nice little global function and/or
macro available for the author of C-language recursive functions to
perform a depth test before recursing?

Mike Mascari
mascarm(at)mascari(dot)com

>Tom Lane wrote:
>
>
>>It occurred to me today that it would not be difficult to implement a
>>direct check on the physical size of the execution stack.
>>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2003-12-31 03:14:14 Re: Is my MySQL Gaining ?
Previous Message Chris Travers 2003-12-31 02:54:13 Re: Is my MySQL Gaining ?