The PGSQL_MAX_STACK_DEPTH variable specifies the maximum safe depth of the server's execution stack.
Integer
5120