MCPcopy Create free account
hub / github.com/apache/cloudberry / rstacktoodeep

Function rstacktoodeep

src/backend/regex/regcomp.c:2415–2419  ·  view source on GitHub ↗

* rstacktoodeep - check for stack getting dangerously deep * * Return nonzero to fail the operation with error code REG_ETOOBIG, * zero to keep going * * The current implementation is Postgres-specific. If we ever get around * to splitting the regex code out as a standalone library, there will need * to be some API to let applications define a callback function for this. */

Source from the content-addressed store, hash-verified

2413 * to be some API to let applications define a callback function for this.
2414 */
2415static int
2416rstacktoodeep(void)
2417{
2418 return stack_is_too_deep();
2419}
2420
2421#ifdef REG_DEBUG
2422

Callers

nothing calls this directly

Calls 1

stack_is_too_deepFunction · 0.85

Tested by

no test coverage detected