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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fe5a0109770465b59408638dd54ea29af8f19a49 Modified Files -------------- contrib/ltree/ltxtquery_io.c | 8 ++++---- src/backend/utils/adt/tsquery.c | 14 +++++++++----- 2 files changed, 13 insertions(+), 9 deletions(-)
