Fix backwards test in operator_precedence_warning logic.

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

Commit: 930930c476634991d1fa9838b1e41801d024eebf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-04-10T23:02:32Z
Releases: 11.3
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