From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove operator_precedence_warning.
Date: Tue, 08 Dec 2020 21:29:58 +0000
Message-ID: <E1kmkYY-0002oN-Tt@gemulon.postgresql.org> (raw)
Remove operator_precedence_warning.
This GUC was always intended as a temporary solution to help with
finding 9.4-to-9.5 migration issues. Now that all pre-9.5 branches
are out of support, and 9.5 will be too before v14 is released,
it seems like it's okay to drop it. Doing so allows removal of
several hundred lines of poorly-tested code in parse_expr.c,
which have been a fertile source of bugs when people did use this.
Discussion: https://postgr.es/m/2234320.1607117945@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a676386b58bf7cd2df81baa43eb1713d3a2ec055
Modified Files
--------------
doc/src/sgml/config.sgml | 23 --
doc/src/sgml/syntax.sgml | 6 +-
src/backend/nodes/outfuncs.c | 3 -
src/backend/parser/gram.y | 43 +--
src/backend/parser/parse_expr.c | 450 +-------------------------
src/backend/parser/parse_target.c | 5 -
src/backend/utils/misc/guc.c | 10 -
src/backend/utils/misc/postgresql.conf.sample | 1 -
src/include/nodes/parsenodes.h | 3 +-
src/include/parser/parse_expr.h | 1 -
10 files changed, 10 insertions(+), 535 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Remove operator_precedence_warning.
In-Reply-To: <E1kmkYY-0002oN-Tt@gemulon.postgresql.org>
References: <E1kmkYY-0002oN-Tt@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox