BUG #13289: ANY() function produces a paradox

From: udtelco(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13289: ANY() function produces a paradox
Date: 2015-05-14 17:12:53
Message-ID: 20150514171253.2687.47260@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: 13289
Logged by: Anton
Email address: udtelco(at)gmail(dot)com
PostgreSQL version: 9.3.2
Operating system: Solaris 11.2
Description:

select ('2' != any('{2,3}')) , ('2' = any('{2,3}'))

When != (or <>) operator is applied to any() , results are wrong. Thereby,
you have a situation where x = y AND x != y both evaluating as true.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2015-05-14 17:27:46 Re: BUG #13287: Database corruption - PANIC: could not fsync file "pg_replslot/[Slot]/state": Bad file descriptor
Previous Message Pedro Gimeno 2015-05-14 12:38:52 Re: Prepare/Execute silently discards prohibited ORDER BY values