o megabytes (<code class="literal">2MB</code>), which
        is conservatively small and unlikely to risk crashes.  However,
        it might be too small to allow execution of complex functions.
        Only superusers and users with the appropriate <code class="literal">SET</code>
        privilege can change this setting.
       </p><p>
        Setting <code class="varname">max_stack_depth</code> higher than
        the actual kernel limit will mean that a runaway recursive function
        can crash an