]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove %error-verbose directive from jsonpath parser
authorAndrew Dunstan <andrew@dunslane.net>
Sun, 3 Jul 2022 21:08:25 +0000 (17:08 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sun, 3 Jul 2022 21:17:08 +0000 (17:17 -0400)
commit2cf875a4b58d2bc2cce423b3c15fd01250966e40
treeb19c41908024a9e6a4fddb87a35f8bdefc3c9b4f
parenta4240139fc76fe89bba1a31dc8d7fec08bdfd2ae
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
src/backend/utils/adt/jsonpath_gram.y
src/test/regress/expected/jsonpath.out