Re: BUG #13892: SELECT FALSE = FALSE = TRUE; error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: fotonszekta(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13892: SELECT FALSE = FALSE = TRUE; error
Date: 2016-01-27 16:11:29
Message-ID: 710.1453911089@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

fotonszekta(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message chris.bainbridge 2016-01-27 20:31:19 BUG #13893: PANIC: stuck spinlock
Previous Message Andres Freund 2016-01-27 14:54:04 Re: << unrecognized configuration parameter "pg_stat_statements.track" >>