Do you plan to submit this patch to the upcoming commit fest perhaps? I have done some testing on it and it seems worth pursuing further.
-- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services