Re: Removal of operator_precedence_warning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Removal of operator_precedence_warning
Date: 2020-12-04 22:21:12
Message-ID: 2243927.1607120472@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> Reading the reports mentioned in those commits, it doesn't look like any
> of them were actually using the feature -- they all seem to have come
> across the problems by accidents of varying nature.

The two oldest reports look like the submitters had
operator_precedence_warning turned on in normal use, which is reasonable
given that was early 9.5.x days. The third one looks like it was a test
setup, while the latest bug sounds like it was found by code inspection
not by stumbling over the misbehavior. So people did use it, at least
for awhile. But anyone who's going directly from 9.4 or earlier to v14
is going to have lots more compatibility issues to worry about besides
precedence.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bossart, Nathan 2020-12-04 23:21:23 Re: A few new options for CHECKPOINT
Previous Message Stephen Frost 2020-12-04 22:17:39 Re: A few new options for CHECKPOINT