This is a response to a rather old message 'automatically refresh all materialized views?' linked below. I just implemented a recursive refresh for my own purposes, as I couldn't find an existing implementation. I've put it as a gist on github in case anyone else runs into the same problem.