Re: [GENERAL] Security implications of (plpgsql) functions - Mailing list pgsql-hackers

From Joe Conway
Subject Re: [GENERAL] Security implications of (plpgsql) functions
Date
Msg-id 3DB42954.3030209@joeconway.com
Whole thread Raw
In response to Re: [GENERAL] Security implications of (plpgsql) functions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [GENERAL] Security implications of (plpgsql) functions
List pgsql-hackers
Tom Lane wrote:
> A depth limit for PL-function recursion is perhaps feasible, but I can't
> say that I care for it a whole lot ... anyone have better ideas?
> 

Is there any way to recognize infinite recursion by analyzing the saved 
execution tree -- i.e. can we assume that a function that calls itself, with 
the same arguments with which it was called, constitutes infinite recursion?

Joe



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Security implications of (plpgsql) functions
Next
From: Olivier PRENANT
Date:
Subject: Re: Please help