Fix backwards test in operator_precedence_warning logic.

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

Commit: 62d4953956197a76e070fef9f315878f1d58bb29
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-04-10T23:03:14Z
Releases: 9.6.13
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