pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix backwards test in operator_precedence_warning logic.
Date: Wed, 10 Apr 2019 23:04:50 +0000
Message-ID: <E1hEMGw-0003Dp-Oy@gemulon.postgresql.org> (raw)

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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/62d4953956197a76e070fef9f315878f1d58bb29

Modified Files
--------------
src/backend/parser/parse_expr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1hEMGw-0003Dp-Oy@gemulon.postgresql.org>
Permalink:  ../E1hEMGw-0003Dp-Oy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hEMGw-0003Dp-Oy@gemulon.postgresql.org

 · 

reply

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: Fix backwards test in operator_precedence_warning logic.
  In-Reply-To: <E1hEMGw-0003Dp-Oy@gemulon.postgresql.org>
  References: <E1hEMGw-0003Dp-Oy@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