pg_class.relhaspkey doesn't seem to be used or useful for anything, socan we remove it? See attached patch.
-- Peter Eisentraut http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services