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

From: fotonszekta(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13892: SELECT FALSE = FALSE = TRUE; error
Date: 2016-01-27 02:54:27
Message-ID: 20160127025427.2541.77585@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13892
Logged by: Gábor Szabó
Email address: fotonszekta(at)gmail(dot)com
PostgreSQL version: 9.5.0
Operating system: Windows 10 x64
Description:

I read a post on "SELECT FALSE = FALSE = TRUE;"
(http://databaseblog.myname.nl/2016/01/when-simple-sql-can-be-complex.html)

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"

9.1 and 9.4 returns true as excepted

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Vladimir Kunschikov 2016-01-27 06:14:47 Re: BUG #13888: pg_dump write error
Previous Message Michael Paquier 2016-01-27 02:31:44 Re: Re: [BUGS] Postgres backend segfault