Hi, PostgreSQL Developers, Please consider such query: SELECT * FROM empty_table EXCEPT SELECT * FROM not_empty_table; Obviously, the above query always returns an empty set. I think it should return an empty set quickly.
The failure to do so is not a bug. See other similar complaints in the past month or so.
Patches in this area could be accepted but the corner cases being described don't seem to be highly motivating.