That sounds incredibly cool - have you written up anything about it? I would love to learn more about it.
Another pretty cool fact is that I've so far managed to build the entire thing without having to fork Postgres, only using all the built-in extension points which are really great.