Re: BUG #13892: SELECT FALSE = FALSE = TRUE; error - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13892: SELECT FALSE = FALSE = TRUE; error
Date
Msg-id 710.1453911089@sss.pgh.pa.us
Whole thread Raw
In response to BUG #13892: SELECT FALSE = FALSE = TRUE; error  (fotonszekta@gmail.com)
List pgsql-bugs
fotonszekta@gmail.com writes:
> I tried on 9.5, and it's throws an error:
> ERROR: syntax error at or near "="
> LINE 1: SELECT FALSE = FALSE = TRUE;
>                              ^
> (the error is at the second '=')

> It's maybe related to "Adjust operator precedence to match the SQL
> standard"

Yes, that's an intentional change.  If you actually intend this
and it's not just a typo, add parentheses.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: << unrecognized configuration parameter "pg_stat_statements.track" >>
Next
From: Önder Kalacı
Date:
Subject: Re: BUG #13891: Deparsed arbiter WHERE clauses cannot be parsed by Postgres