Handle operator-stack-overflow errors softly in tsquery and ltxtquery. When we converted these types' input functions to report errors through the soft-error mechanism, we missed that stack-overflow errors can be triggered through bad user input. Convert those to be reported softly, too.
Bug: #19745 Reported-by: Ke <[email protected]> Author: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 16 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d4fae299336c28169ffdfd3b21376917aa9bdc66 Modified Files -------------- contrib/ltree/ltxtquery_io.c | 8 ++++---- src/backend/utils/adt/tsquery.c | 14 +++++++++----- 2 files changed, 13 insertions(+), 9 deletions(-)
