pgsql: Remove %error-verbose directive from jsonpath parser

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove %error-verbose directive from jsonpath parser
Date: 2022-07-03 21:26:28
Message-ID: E1o876o-0013as-Np@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2cf875a4b58d2bc2cce423b3c15fd01250966e40

Modified Files
--------------
src/backend/utils/adt/jsonpath_gram.y | 1 -
src/test/regress/expected/jsonpath.out | 34 +++++++++++++++++-----------------
2 files changed, 17 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-07-03 21:27:32 pgsql: Remove %error-verbose directive from jsonpath parser
Previous Message Tom Lane 2022-07-03 20:49:50 pgsql: Allow makeaclitem() to accept multiple privilege names.