Re: "memory exhausted" in query parser/simplifier for many nested parentheses - Mailing list pgsql-bugs

From Greg Sabino Mullane
Subject Re: "memory exhausted" in query parser/simplifier for many nested parentheses
Date
Msg-id CAKAnmm+1Xv2ge76CQhqKicgOmU2Z5CVJbNm_oLsYusmBophXxg@mail.gmail.com
Whole thread Raw
In response to "memory exhausted" in query parser/simplifier for many nested parentheses  (Niklas Hambüchen <mail@nh2.me>)
List pgsql-bugs
While not agreeing that this is a bug (perhaps an under-documented but totally sane limit?) - but here is a shorter repro for the archives:

do $$begin execute format('%s', repeat('(',9999));end$$;

Cheers,
Greg

pgsql-bugs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Problem with constraint unique.
Next
From: "Mike Bayer"
Date:
Subject: invalid constraint type "n" when using pg_catalog.pg_get_constraintdef() on pg17, regression from pg16