Attached patch removes the tautologolical part of an evaluatedexpression, fixing the problem flagged by this quite valid warning.
-- Peter Geoghegan http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training and Services