Fix backwards test in operator_precedence_warning logic.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 99bbff5c15797de3d958f303e80646d30e0c8fa4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-04-10T23:02:58Z
Releases: 10.8
Fix backwards test in operator_precedence_warning logic.

Warnings about unary minus might have been wrong.  It's a bit
surprising that nobody noticed yet ... probably the precedence-warning
feature hasn't really been used much in the field.

Rikard Falkeborn

Discussion: https://postgr.es/m/CADRDgG6fzA8A2oeygUw4=o7ywo4kvz26NxCSgpq22nMD73Bx4Q@mail.gmail.com

Files

PathChange+/−
src/backend/parser/parse_expr.c modified +1 −1

Discussion