The following bug has been logged on the website:
Bug reference: 13918
Logged by: Taras Bobrovytsky
Email address: tarasbob(at)gmail(dot)com
PostgreSQL version: 9.3.10
Operating system: Ubuntu
Description:
The following query incorrectly returns 1 row instead of 0:
SELECT 1
FROM some_table
WHERE FALSE
HAVING TRUE