pgsql: Remove %error-verbose directive from jsonpath parser - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Remove %error-verbose directive from jsonpath parser
Date
Msg-id E1o877q-0013cE-L6@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7d9bf589ba840e9f0167a32226ff91a0b50fed95

Modified Files
--------------
src/backend/utils/adt/jsonpath_gram.y       | 1 -
src/test/regress/expected/jsonb_sqljson.out | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Remove %error-verbose directive from jsonpath parser
Next
From: Tom Lane
Date:
Subject: pgsql: Use a short socket directory path in pg_upgrade testing.