Re: Unpredictable signal 11 crashes on Mac OS X (SOLVED[?]) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Unpredictable signal 11 crashes on Mac OS X (SOLVED[?])
Date
Msg-id 4021.1066091542@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unpredictable signal 11 crashes on Mac OS X (SOLVED[?])  (Gareth Boden <gareth.boden@egsgroup.com>)
List pgsql-bugs
Gareth Boden <gareth.boden@egsgroup.com> writes:
> Bizarrely, it came down to an infinite recursion in a plpgsql function
> we were using which exhausted memory and crashed the db server. Is
> there any way of limiting stack depth/having some sort of monitor on
> these functions to prevent this behaviour in future?

There's been some talk of this, but the sticking point has been to
figure out a reasonably portable way to measure and enforce stack
usage...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: create temp table ... inherits
Next
From: malerba@gnome-db.org
Date:
Subject: Bug in the information_schema.referential_constraints view