diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-07-03 17:08:25 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-07-03 17:16:11 -0400 |
commit | 7fd43684fc9e3f2da9c646dea04a531bd6f50cee (patch) | |
tree | d337d01b658c376a5ae710b1dabec62e82d03dcf /src/backend/utils/adt/jsonpath_gram.y | |
parent | 463a841d7407dbc96cc1c39ca99ebe9c8bdd3244 (diff) |
Remove %error-verbose directive from jsonpath parser
None of the other bison parsers contains this directive, and it gives
rise to some unfortunate and impenetrable messages, so just remove it.
Backpatch to release 12, where it was introduced.
Per gripe from Erik Rijkers
Discussion: https://postgr.es/m/ba069ce2-a98f-dc70-dc17-2ccf2a9bf7c7@xs4all.nl
Diffstat (limited to 'src/backend/utils/adt/jsonpath_gram.y')
-rw-r--r-- | src/backend/utils/adt/jsonpath_gram.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/utils/adt/jsonpath_gram.y b/src/backend/utils/adt/jsonpath_gram.y index de3d97931ef..b5cf865f3c1 100644 --- a/src/backend/utils/adt/jsonpath_gram.y +++ b/src/backend/utils/adt/jsonpath_gram.y @@ -74,7 +74,6 @@ static JsonPathParseItem *makeItemLikeRegex(JsonPathParseItem *expr, %pure-parser %expect 0 %name-prefix="jsonpath_yy" -%error-verbose %parse-param {JsonPathParseResult **result} %union { |