Oct 2026

1 commit
Handle operator-stack-overflow errors softly in tsquery and ltxtquery.
5 Oct 2026Tom LanemasterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
LLM analysis, 100% surewritten from the discussion, no matching patch

Ke reported user-triggered operator-stack overflows bypassing soft-error handling in #1, and Tom Lane agreed to fix them in #2. The commit changes src/backend/utils/adt/tsquery.c and contrib/ltree/ltxtquery_io.c to report overflow through ereturn with ERRCODE_PROGRAM_LIMIT_EXCEEDED; its author is the committer, Tom Lane.

Credits across 1 commit

Author
Tom Lane1
Reported by
Ke1
Committer
Tom Lane1